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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/shells/mid
From:       Laurent Montel <montel () kde ! org>
Date:       2008-08-25 11:22:20
Message-ID: 1219663340.505072.15938.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 852114 by mlaurent:

Not necessary to look at count of args


 M  +1 -1      midcorona.cpp  


--- trunk/KDE/kdebase/workspace/plasma/shells/mid/midcorona.cpp #852113:852114
@@ -104,7 +104,7 @@
 
     if (isDesktop) {
         c->setScreen(0);
-    } else if( (args->count() > 0) && (args->isSet("height")) && (args->isSet("width")) ){
+    } else if( args->isSet("height") && args->isSet("width") ){
         int width = qMax(400, args->getOption("width").toInt());
         int height = qMax(200, args->getOption("height").toInt());
         c->resize(width, height);
[prev in list] [next in list] [prev in thread] [next in thread] 

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