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

List:       kde-commits
Subject:    KDE/kdebase/workspace/systemsettings
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2007-07-25 10:58:50
Message-ID: 1185361130.428060.2944.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 692327 by aseigo:

isEmpty()


 M  +1 -1      kcmodulemenu.cpp  


--- trunk/KDE/kdebase/workspace/systemsettings/kcmodulemenu.cpp #692326:692327
@@ -87,7 +87,7 @@
 	for (int i = 0; i < modules.size(); ++i) {
 		const KService* entry = modules.at(i).data();
 		QString category = entry->property("X-KDE-System-Settings-Parent-Category").toString();
-		if( category == parentName && parentName != "" ) {
+		if( category == parentName && !parentName.isEmpty() ) {
 			// Add the module info to the menu
 			KCModuleInfo module(entry->desktopEntryPath());
 			append(module);
[prev in list] [next in list] [prev in thread] [next in thread] 

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