diff options
| author | Emmanuel Pescosta <[email protected]> | 2015-02-24 13:07:35 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2015-02-24 13:07:35 +0100 |
| commit | 169cca55b9621689712321da8c0425f8002d0008 (patch) | |
| tree | 7035935aeb94de3a2c3872ee5fed914c80e41db2 /src/main.cpp | |
| parent | 6d9f5b21315bf7c9f6b08e32a89346e22c482714 (diff) | |
Replace kDebug/kWarning by categorized logging (org.kde.dolphin)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 14529005f..4291d2fa3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -28,7 +28,7 @@ #include <QCommandLineOption> #include <QApplication> #include <KLocalizedString> -#include <KDebug> +#include "dolphindebug.h" #include <kdelibs4configmigrator.h> extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) @@ -109,7 +109,7 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) if (url.isValid()) { urls.append(url); } else { - qWarning() << "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 { - kWarning() << "Unknown class " << className << " in session saved data!"; + qCWarning(DolphinDebug) << "Unknown class " << className << " in session saved data!"; } } |
