From fe72ae1246857c474743cb1556c27df52a501286 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Thu, 7 Mar 2013 18:51:02 -0500 Subject: [PATCH] corrected loading message defaults --- sdk/core/core.cpp | 2 +- sdk/plugins/meta.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/core/core.cpp b/sdk/core/core.cpp index a386dd2..da57f89 100644 --- a/sdk/core/core.cpp +++ b/sdk/core/core.cpp @@ -250,7 +250,7 @@ private: if (!file.isEmpty()) description = file; if (QFileInfo(description).exists()) { - if (Globals->verbose) qDebug("Loading %s", qPrintable(QFileInfo(description).fileName())); + qDebug("Loading %s", qPrintable(QFileInfo(description).fileName())); load(description); return; } diff --git a/sdk/plugins/meta.cpp b/sdk/plugins/meta.cpp index a3b99a5..aa7561c 100644 --- a/sdk/plugins/meta.cpp +++ b/sdk/plugins/meta.cpp @@ -423,7 +423,7 @@ private: const QString file = getFileName(); if (file.isEmpty()) return false; - qDebug("Loading %s", qPrintable(baseName)); + if (Globals->verbose) qDebug("Loading %s", qPrintable(baseName)); QByteArray data; QtUtils::readFile(file, data, true); QDataStream stream(&data, QFile::ReadOnly); -- libgit2 0.21.4