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

List:       kde-commits
Subject:    KDE/kdebase/apps/kdialog
From:       David Faure <faure () kde ! org>
Date:       2009-09-17 21:54:19
Message-ID: 1253224459.154978.8677.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1025048 by dfaure:

Allow to show a combobox with only one element.


 M  +1 -1      kdialog.cpp  


--- trunk/KDE/kdebase/apps/kdialog/kdialog.cpp #1025047:1025048
@@ -396,7 +396,7 @@
     // --combobox <text> [tag item] [tag item] ..."
     if (args->isSet("combobox")) {
         QStringList list;
-        if (args->count() >= 2) {
+        if (args->count() >= 1) {
             for (int i = 0; i < args->count(); i++) {
                 list.append(args->arg(i));
             }
[prev in list] [next in list] [prev in thread] [next in thread] 

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