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

List:       kde-commits
Subject:    extragear/plasma/applets/binary-clock
From:       Thomas Georgiou <tageorgiou () gmail ! com>
Date:       2008-04-13 17:07:28
Message-ID: 1208106448.927864.14979.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 796494 by tgeorgiou:

Hello binary clock!


 M  +2 -2      binaryclock.cpp  


--- trunk/extragear/plasma/applets/binary-clock/binaryclock.cpp #796493:796494
@@ -35,7 +35,7 @@
     m_dialog(0)
 {
     setHasConfigurationInterface(true);
-    setContentSize(getWidthFromHeight(128), 128);
+    resize(getWidthFromHeight(128), 128);
 }
 
 void BinaryClock::init()
@@ -76,7 +76,7 @@
 
 QSizeF BinaryClock::contentSizeHint() const
 {
-    QSizeF sizeHint = contentSize();
+    QSizeF sizeHint = geometry().size();
 
     switch (formFactor()) {
         case Plasma::Vertical:
[prev in list] [next in list] [prev in thread] [next in thread] 

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