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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/lock_logout
From:       Roman Jarosz <kedgedev () centrum ! cz>
Date:       2008-03-30 12:49:56
Message-ID: 1206881396.478800.4281.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 791818 by rjarosz:

Fix width in horizontal panels



 M  +2 -2      lockout.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/lock_logout/lockout.cpp #791817:791818
@@ -111,9 +111,9 @@
             break;
         case Plasma::Horizontal:
             if (sizeHint.height() >= MINSIZE) {
-                sizeHint.setHeight(sizeHint.height() / 2);
+                sizeHint.setWidth(sizeHint.height() / 2);
             } else {
-                sizeHint.setHeight(sizeHint.height() * 2);
+                sizeHint.setWidth(sizeHint.height() * 2);
             }
             break;
         default:
[prev in list] [next in list] [prev in thread] [next in thread] 

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