From: Luca Beltrame Date: Tue, 24 Feb 2015 13:14:36 +0000 (+0100) Subject: Fix the build temporarily X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/f8d8256cbb6834a27da4bee2401e2f5768e81a4a Fix the build temporarily 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 --- diff --git a/src/main.cpp b/src/main.cpp index 4291d2fa3..3c9dd6130 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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!"; } }