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})
|
add_library(dirmodelplugin SHARED ${dirmodel_SRCS})
|
||||||
target_link_libraries(dirmodelplugin
|
target_link_libraries(dirmodelplugin
|
||||||
Qt5::Core
|
Qt5::Core
|
||||||
Qt5::Qml
|
Qt5::Qml
|
||||||
KF5::KIOCore
|
KF5::KIOCore
|
||||||
KF5::KIOWidgets
|
KF5::KIOWidgets
|
||||||
KF5::KGuiAddons
|
KF5::KGuiAddons
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -9,9 +9,9 @@ add_library(runnermodelplugin SHARED ${runnermodel_SRCS})
|
|||||||
target_link_libraries(runnermodelplugin
|
target_link_libraries(runnermodelplugin
|
||||||
Qt5::Quick
|
Qt5::Quick
|
||||||
Qt5::Qml
|
Qt5::Qml
|
||||||
KF5::KI18n
|
KF5::KI18n
|
||||||
Plasma
|
Plasma
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
install(TARGETS runnermodelplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/runnermodel)
|
install(TARGETS runnermodelplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/runnermodel)
|
||||||
|
@ -212,7 +212,7 @@ void MousePluginWidget::configure()
|
|||||||
if (w) {
|
if (w) {
|
||||||
lay->addWidget(w);
|
lay->addWidget(w);
|
||||||
}
|
}
|
||||||
const QString title = w->windowTitle();
|
const QString title = w->windowTitle();
|
||||||
|
|
||||||
m_configDlg->setWindowTitle(title.isEmpty() ? i18n("Configure Plugin") :title);
|
m_configDlg->setWindowTitle(title.isEmpty() ? i18n("Configure Plugin") :title);
|
||||||
//put buttons below
|
//put buttons below
|
||||||
|
@ -382,7 +382,7 @@ QScriptValue ScriptEngine::defaultApplication(QScriptContext *context, QScriptEn
|
|||||||
|
|
||||||
// in KToolInvocation, the default is kmail; but let's be friendlier :)
|
// in KToolInvocation, the default is kmail; but let's be friendlier :)
|
||||||
// QString command = settings.getSetting(KEMailSettings::ClientProgram);
|
// QString command = settings.getSetting(KEMailSettings::ClientProgram);
|
||||||
QString command;
|
QString command;
|
||||||
if (command.isEmpty()) {
|
if (command.isEmpty()) {
|
||||||
if (KService::Ptr kontact = KService::serviceByStorageId("kontact")) {
|
if (KService::Ptr kontact = KService::serviceByStorageId("kontact")) {
|
||||||
return storageId ? kontact->storageId() : onlyExec(kontact->exec());
|
return storageId ? kontact->storageId() : onlyExec(kontact->exec());
|
||||||
@ -393,7 +393,7 @@ QScriptValue ScriptEngine::defaultApplication(QScriptContext *context, QScriptEn
|
|||||||
|
|
||||||
if (!command.isEmpty()) {
|
if (!command.isEmpty()) {
|
||||||
//if (settings.getSetting(KEMailSettings::ClientTerminal) == "true") {
|
//if (settings.getSetting(KEMailSettings::ClientTerminal) == "true") {
|
||||||
if (false) {
|
if (false) {
|
||||||
KConfigGroup confGroup(KSharedConfig::openConfig(), "General");
|
KConfigGroup confGroup(KSharedConfig::openConfig(), "General");
|
||||||
const QString preferredTerminal = confGroup.readPathEntry("TerminalApplication", QString::fromLatin1("konsole"));
|
const QString preferredTerminal = confGroup.readPathEntry("TerminalApplication", QString::fromLatin1("konsole"));
|
||||||
command = preferredTerminal + QString::fromLatin1(" -e ") + command;
|
command = preferredTerminal + QString::fromLatin1(" -e ") + command;
|
||||||
|
Loading…
Reference in New Issue
Block a user