Commit fe72ae1246857c474743cb1556c27df52a501286

Authored by Josh Klontz
1 parent 81ff707a

corrected loading message defaults

sdk/core/core.cpp
@@ -250,7 +250,7 @@ private: @@ -250,7 +250,7 @@ private:
250 if (!file.isEmpty()) description = file; 250 if (!file.isEmpty()) description = file;
251 251
252 if (QFileInfo(description).exists()) { 252 if (QFileInfo(description).exists()) {
253 - if (Globals->verbose) qDebug("Loading %s", qPrintable(QFileInfo(description).fileName())); 253 + qDebug("Loading %s", qPrintable(QFileInfo(description).fileName()));
254 load(description); 254 load(description);
255 return; 255 return;
256 } 256 }
sdk/plugins/meta.cpp
@@ -423,7 +423,7 @@ private: @@ -423,7 +423,7 @@ private:
423 const QString file = getFileName(); 423 const QString file = getFileName();
424 if (file.isEmpty()) return false; 424 if (file.isEmpty()) return false;
425 425
426 - qDebug("Loading %s", qPrintable(baseName)); 426 + if (Globals->verbose) qDebug("Loading %s", qPrintable(baseName));
427 QByteArray data; 427 QByteArray data;
428 QtUtils::readFile(file, data, true); 428 QtUtils::readFile(file, data, true);
429 QDataStream stream(&data, QFile::ReadOnly); 429 QDataStream stream(&data, QFile::ReadOnly);