Replace tab with spaces
This commit is contained in:
parent
718251466a
commit
1ebb352a76
@ -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
|
||||
)
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user