[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/libs/plasma/widgets
From:       Marco Martin <notmart () gmail ! com>
Date:       2008-08-02 12:51:51
Message-ID: 1217681511.659780.21639.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 841013 by mart:

fix build


 M  +3 -2      frame.cpp  


--- trunk/KDE/kdebase/workspace/libs/plasma/widgets/frame.cpp #841012:841013
@@ -23,6 +23,7 @@
 #include <QPainter>
 #include <QGraphicsSceneResizeEvent>
 #include <QWidget>
+#include <QDir>
 #include <QApplication>
 
 //KDE
@@ -71,10 +72,10 @@
     qreal left, top, right, bottom;
 
     svg->getMargins(left, top, right, bottom);
-
+kWarning()<<top;
     if (!text.isNull()) {
         QFontMetricsF fm(QApplication::font());
-        top += fm.height();
+        top += fm.height();kWarning()<<top;
     }
 
     q->setContentsMargins(left, top, right, bottom);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic