From fef448833e8ecfb1e4c6742cb9a60a85f84d0baa Mon Sep 17 00:00:00 2001
From: Teo Mrnjavac <teo@kde.org>
Date: Thu, 30 Oct 2014 17:36:56 +0100
Subject: [PATCH] And some more debug output readability improvements.

---
 src/libcalamaresui/modulesystem/Module.cpp        | 2 +-
 src/libcalamaresui/modulesystem/ModuleManager.cpp | 2 +-
 src/libcalamaresui/utils/ImageRegistry.cpp        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/libcalamaresui/modulesystem/Module.cpp b/src/libcalamaresui/modulesystem/Module.cpp
index 340f778f2f..9d161eb174 100644
--- a/src/libcalamaresui/modulesystem/Module.cpp
+++ b/src/libcalamaresui/modulesystem/Module.cpp
@@ -66,7 +66,7 @@ Module::fromDescriptorFile( const QString& path )
     if ( descriptorFile.exists() && descriptorFile.open( QFile::ReadOnly | QFile::Text ) )
     {
         QByteArray ba = descriptorFile.readAll();
-        cDebug() << "Loading descriptor file" << descriptorFile.fileName();
+        cDebug() << "Loading module.desc for" << QFileInfo( descriptorFile ).dir().dirName();
 
         try
         {
diff --git a/src/libcalamaresui/modulesystem/ModuleManager.cpp b/src/libcalamaresui/modulesystem/ModuleManager.cpp
index 170002e78c..c138917d28 100644
--- a/src/libcalamaresui/modulesystem/ModuleManager.cpp
+++ b/src/libcalamaresui/modulesystem/ModuleManager.cpp
@@ -160,7 +160,7 @@ ModuleManager::doInit()
         }
         else
         {
-            cDebug() << Q_FUNC_INFO << "bad search path " << path;
+            cDebug() << "ModuleManager bad search path" << path;
         }
     }
     // At this point m_availableModules is filled with whatever was found in the
diff --git a/src/libcalamaresui/utils/ImageRegistry.cpp b/src/libcalamaresui/utils/ImageRegistry.cpp
index 48f5ea8676..ad3e606ab3 100644
--- a/src/libcalamaresui/utils/ImageRegistry.cpp
+++ b/src/libcalamaresui/utils/ImageRegistry.cpp
@@ -137,7 +137,7 @@ ImageRegistry::pixmap( const QString& image, const QSize& size, CalamaresUtils::
 void
 ImageRegistry::putInCache( const QString& image, const QSize& size, CalamaresUtils::ImageMode mode, float opacity, const QPixmap& pixmap, QColor tint )
 {
-    cDebug( LOGVERBOSE ) << Q_FUNC_INFO << "Adding to image cache:" << image << size << mode;
+//    cDebug( LOGVERBOSE ) << Q_FUNC_INFO << "Adding to image cache:" << image << size << mode;
 
     QHash< qint64, QPixmap > subsubcache;
     QHash< int, QHash< qint64, QPixmap > > subcache;
-- 
GitLab