src/hbtools/hbthemeindexer/main.cpp
changeset 3 11d3954df52a
parent 2 06ff229162e9
child 6 c3690ec91ef8
--- a/src/hbtools/hbthemeindexer/main.cpp	Fri May 14 16:09:54 2010 +0300
+++ b/src/hbtools/hbthemeindexer/main.cpp	Thu May 27 13:10:59 2010 +0300
@@ -59,7 +59,9 @@
 
 void createMirroredList(const QString &fullThemePath)
 {
-    std::cout << "Parsing mirrored list for theme " << fullThemePath.toStdString() << "\n";
+    if (verboseOn) {
+        std::cout << "Parsing mirrored list for theme " << fullThemePath.toStdString() << "\n";
+    }
     // Find mirrored.txt file
     QString filename = fullThemePath + "/mirrored.txt";
     // Try to read file
@@ -81,7 +83,9 @@
 
 void createLockedList(const QString &fullThemePath)
 {
-    std::cout << "Parsing locked list for theme " << fullThemePath.toStdString() << "\n";
+    if (verboseOn) {
+        std::cout << "Parsing locked list for theme " << fullThemePath.toStdString() << "\n";
+    }
     // Find locked.txt file
     QString filename = fullThemePath + "/locked.txt";
     // Try to read file