code formatting/consistency
authorPeriklis Ntanasis <pntanasis@gmail.com>
Mon, 23 Dec 2013 03:15:39 +0200
changeset 9823 31c5f7e65259
parent 9822 f3b124352c3a
child 9824 136e0708eda2
code formatting/consistency
QTfrontend/campaign.cpp
--- a/QTfrontend/campaign.cpp	Mon Dec 23 03:11:17 2013 +0200
+++ b/QTfrontend/campaign.cpp	Mon Dec 23 03:15:39 2013 +0200
@@ -33,8 +33,8 @@
     // if then is found rename it to use _
     QString spaceCampName = campaignName;
     spaceCampName = spaceCampName.replace(QString("_"),QString(" "));
-    if (teamfile.childGroups().contains("Campaign " + campaignName) == false and 
-			teamfile.childGroups().contains("Campaign " + spaceCampName) == true){
+    if (!teamfile.childGroups().contains("Campaign " + campaignName) and 
+			teamfile.childGroups().contains("Campaign " + spaceCampName)){
 		teamfile.beginGroup("Campaign " + spaceCampName);
 		QStringList keys = teamfile.childKeys();
 		teamfile.endGroup();