[Uml-devel] KDE/kdesdk/umbrello/umbrello/widgets

Andi Fischer andi.fischer at hispeed.ch
Fri Jun 8 06:26:18 UTC 2012


SVN commit 1298953 by fischer:

Removed unused variables to fix compiler warnings.

 M  +0 -2      notewidget.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/notewidget.cpp #1298952:1298953
@@ -293,11 +293,9 @@
     int width = this->width();
     int height = this->height();
     const QFontMetrics &fm = getFontMetrics(FT_NORMAL);
-    const int fontHeight  = fm.lineSpacing();
     const int margin = fm.width("W");
     QSize size = fm.size (0, documentation());
     const int textWidth = size.width();
-    const int textHeight = size.height();
     if (m_noteType == PreCondition) {
         const int widthtemp = fm.width("<< precondition >>");
         width = textWidth > widthtemp ? textWidth : widthtemp;




More information about the umbrello-devel mailing list