aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme/ThemeFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/theme/ThemeFunctions.cpp')
-rw-r--r--src/modules/theme/ThemeFunctions.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/modules/theme/ThemeFunctions.cpp b/src/modules/theme/ThemeFunctions.cpp
index 084a094a1..eec3e4bed 100644
--- a/src/modules/theme/ThemeFunctions.cpp
+++ b/src/modules/theme/ThemeFunctions.cpp
@@ -101,22 +101,16 @@ namespace ThemeFunctions
}
pValue = pInfoFields->find("ThemeCount");
- if(!pValue){
- qDebug("no theme count");
+ if(!pValue)
return notAValidThemePackage(szError);
- }
bool bOk;
int iThemeCount = pValue->toInt(&bOk);
- if(!bOk){
- qDebug("no theme count 2");
+ if(!bOk)
return notAValidThemePackage(szError);
- }
- if(iThemeCount < 1){
- qDebug("no theme count 2");
+ if(iThemeCount < 1)
return notAValidThemePackage(szError);
- }
// ok.. it should be really valid at this point