Paste P570

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on Apr 3 2020, 1:30 PM.
diff --git a/startkde/plasma-session/startup.cpp b/startkde/plasma-session/startup.cpp
index 67476c920..759974e91 100644
--- a/startkde/plasma-session/startup.cpp
+++ b/startkde/plasma-session/startup.cpp
@@ -215,13 +215,14 @@ Startup::Startup(QObject *parent):
kdedProcessEnv.insert(QStringLiteral("KDED_STARTED_BY_KDEINIT"), QStringLiteral("1"));
const QVector<KJob*> sequence = {
- new StartProcessJob(QStringLiteral("kcminit_startup"), {}),
- new StartServiceJob(QStringLiteral("kded5"), {}, QStringLiteral("org.kde.kded5"), kdedProcessEnv),
+// new StartProcessJob(QStringLiteral("kcminit_startup"), {}),
+// new StartServiceJob(QStringLiteral("kded5"), {}, QStringLiteral("org.kde.kded5"), kdedProcessEnv),
new StartServiceJob(QStringLiteral("ksmserver"), QCoreApplication::instance()->arguments().mid(1), QStringLiteral("org.kde.ksmserver")),
- new StartupPhase0(autostart, this),
- phase1 = new StartupPhase1(autostart, this),
- new RestoreSessionJob(),
- new StartupPhase2(autostart, this),
+// new StartupPhase0(autostart, this),
+// phase1 = new StartupPhase1(autostart, this),
+// new RestoreSessionJob(),
+// new StartupPhase2(autostart, this),
+ new StartServiceJob(QStringLiteral("kwrite"), {}, QString())
};
KJob* last = nullptr;
for(KJob* job : sequence) {
@@ -444,6 +445,12 @@ void StartServiceJob::start()
qCWarning(PLASMA_SESSION) << "error starting process" << m_process->program() << m_process->arguments();
emitResult();
}
+
+ if (m_serviceId.isEmpty()) {
+ qDebug() << "done";
+ emitResult();
+ }
+
}
StartProcessJob::StartProcessJob(const QString &process, const QStringList &args, const QProcessEnvironment &additionalEnv)
davidedmundson edited the content of this paste. (Show Details)Apr 3 2020, 1:30 PM
davidedmundson changed the title of this paste from untitled to Masterwork From Distant Lands.