[Marble-commits] KDE/kdeedu/marble/src/lib

Jens-Michael Hoffmann jensmh at gmx.de
Sat Dec 26 09:56:54 CET 2009


SVN commit 1066167 by jmhoffmann:

- use mDebug instead of qWarning since for now we only have the default download policy
- add hostname and usage to debug output
- order include files alphabetically


 M  +3 -2      HttpDownloadManager.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/HttpDownloadManager.cpp #1066166:1066167
@@ -16,10 +16,10 @@
 #include <QtCore/QMap>
 #include <QtCore/QTimer>
 
-#include "MarbleDebug.h"
 #include "DownloadPolicy.h"
 #include "DownloadQueueSet.h"
 #include "HttpJob.h"
+#include "MarbleDebug.h"
 #include "StoragePolicy.h"
 #include "NetworkPlugin.h"
 #include "PluginManager.h"
@@ -108,7 +108,8 @@
         }
     }
     if ( !result ) {
-        qWarning() << "No download policy found, using default policy.";
+        mDebug() << "No download policy found for" << hostName << usage
+                 << ", using default policy.";
         result = &m_defaultQueues;
     }
     return result;


More information about the Marble-commits mailing list