]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix the build temporarily
authorLuca Beltrame <lbeltrame@kde.org>
Tue, 24 Feb 2015 13:14:36 +0000 (14:14 +0100)
committerLuca Beltrame <lbeltrame@kde.org>
Tue, 24 Feb 2015 13:14:36 +0000 (14:14 +0100)
The port of Dolphin to categorized logging created errors in one
specific point only, in main.cpp:

 undefined reference to `DolphinDebug()'

 I couldn't spot any obvious error, so for now I did it the bad way
 (warnings should not be commented out!) to keep it building while a
 real solution is found.

 CCMAIL: emmanuelpescosta099@gmail.com

src/main.cpp

index 4291d2fa3b6304e8786de253b5bc65f78eda0757..3c9dd61305d29123bf63bcccb6dc1a3e7013291d 100644 (file)
@@ -109,7 +109,7 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
         if (url.isValid()) {
             urls.append(url);
         } else {
-            qCWarning(DolphinDebug) << "Invalid URL: " << str;
+            // qCWarning(DolphinDebug) << "Invalid URL: " << str;
         }
     }
 
@@ -152,7 +152,7 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
         if (className == QLatin1String("DolphinMainWindow")) {
             m_mainWindow->restore(1);
         } else {
-            qCWarning(DolphinDebug) << "Unknown class " << className << " in session saved data!";
+           // qCWarning(DolphinDebug) << "Unknown class " << className << " in session saved data!";
         }
     }