diff options
| author | Emmanuel Pescosta <[email protected]> | 2014-10-01 12:34:49 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2014-10-01 12:34:49 +0200 |
| commit | 6a09781a3b99bbca2b2c66ee3041208a02ead0ca (patch) | |
| tree | 1a0f7b311086acee40d82be6a88f2fab6d6bb343 /src/dolphinmainwindow.cpp | |
| parent | 1d590aa7d50bcf955e3356a09dcaa88e1989aa3a (diff) | |
Ported Dolphin away from KStandardDirs
removed unused mirroredDirectory method
REVIEW: 120194
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 629faa154..8668601b6 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -72,7 +72,6 @@ #include <KProtocolInfo> #include <KRun> #include <KShell> -#include <KStandardDirs> #include <kstatusbar.h> #include <KStandardAction> #include <KToggleAction> @@ -87,6 +86,7 @@ #include <QToolButton> #include <QSplitter> #include <QTimer> +#include <QStandardPaths> #include <QPushButton> namespace { @@ -1481,7 +1481,7 @@ bool DolphinMainWindow::isKompareInstalled() const if (!initialized) { // TODO: maybe replace this approach later by using a menu // plugin like kdiff3plugin.cpp - installed = !KGlobal::dirs()->findExe("kompare").isEmpty(); + installed = !QStandardPaths::findExecutable(QStringLiteral("kompare")).isEmpty(); initialized = true; } return installed; |
