From 1ebb352a76664d0d90e49a36acf311c7032ec71a Mon Sep 17 00:00:00 2001 From: Antonis Tsiapaliokas Date: Tue, 10 Dec 2013 18:36:30 +0200 Subject: [PATCH] Replace tab with spaces --- src/declarativeimports/dirmodel/CMakeLists.txt | 6 +++--- src/declarativeimports/krunnermodel/CMakeLists.txt | 4 ++-- src/shell/mousepluginwidget.cpp | 2 +- src/shell/scripting/scriptengine.cpp | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/declarativeimports/dirmodel/CMakeLists.txt b/src/declarativeimports/dirmodel/CMakeLists.txt index 8fa72a4d6..0a8c85078 100644 --- a/src/declarativeimports/dirmodel/CMakeLists.txt +++ b/src/declarativeimports/dirmodel/CMakeLists.txt @@ -8,10 +8,10 @@ set(dirmodel_SRCS add_library(dirmodelplugin SHARED ${dirmodel_SRCS}) target_link_libraries(dirmodelplugin - Qt5::Core + Qt5::Core Qt5::Qml - KF5::KIOCore - KF5::KIOWidgets + KF5::KIOCore + KF5::KIOWidgets KF5::KGuiAddons ) diff --git a/src/declarativeimports/krunnermodel/CMakeLists.txt b/src/declarativeimports/krunnermodel/CMakeLists.txt index cd6435760..517b833ee 100644 --- a/src/declarativeimports/krunnermodel/CMakeLists.txt +++ b/src/declarativeimports/krunnermodel/CMakeLists.txt @@ -9,9 +9,9 @@ add_library(runnermodelplugin SHARED ${runnermodel_SRCS}) target_link_libraries(runnermodelplugin Qt5::Quick Qt5::Qml - KF5::KI18n + KF5::KI18n Plasma - ) + ) install(TARGETS runnermodelplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/runnermodel) diff --git a/src/shell/mousepluginwidget.cpp b/src/shell/mousepluginwidget.cpp index 3d26e353d..6016a8999 100644 --- a/src/shell/mousepluginwidget.cpp +++ b/src/shell/mousepluginwidget.cpp @@ -212,7 +212,7 @@ void MousePluginWidget::configure() if (w) { lay->addWidget(w); } - const QString title = w->windowTitle(); + const QString title = w->windowTitle(); m_configDlg->setWindowTitle(title.isEmpty() ? i18n("Configure Plugin") :title); //put buttons below diff --git a/src/shell/scripting/scriptengine.cpp b/src/shell/scripting/scriptengine.cpp index eb0fa3fc5..dd99e9742 100644 --- a/src/shell/scripting/scriptengine.cpp +++ b/src/shell/scripting/scriptengine.cpp @@ -382,7 +382,7 @@ QScriptValue ScriptEngine::defaultApplication(QScriptContext *context, QScriptEn // in KToolInvocation, the default is kmail; but let's be friendlier :) // QString command = settings.getSetting(KEMailSettings::ClientProgram); - QString command; + QString command; if (command.isEmpty()) { if (KService::Ptr kontact = KService::serviceByStorageId("kontact")) { return storageId ? kontact->storageId() : onlyExec(kontact->exec()); @@ -393,7 +393,7 @@ QScriptValue ScriptEngine::defaultApplication(QScriptContext *context, QScriptEn if (!command.isEmpty()) { //if (settings.getSetting(KEMailSettings::ClientTerminal) == "true") { - if (false) { + if (false) { KConfigGroup confGroup(KSharedConfig::openConfig(), "General"); const QString preferredTerminal = confGroup.readPathEntry("TerminalApplication", QString::fromLatin1("konsole")); command = preferredTerminal + QString::fromLatin1(" -e ") + command;