Commit 45da7235 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

Do not start faulty coronas

It just floods the output with tons of things failing non-fatally and it
makes things hard to figure out.
parent af38078e
......@@ -165,6 +165,10 @@ int main(int argc, char *argv[])
ShellCorona *corona = new ShellCorona(&app);
if (!corona->kPackage().isValid()) {
qCritical() << "starting invalid corona" << corona->shell();
return 1;
auto userFeedback = new UserFeedback(corona, &app);
......@@ -47,6 +47,9 @@ StandaloneAppCorona::StandaloneAppCorona(const QString &coronaPlugin, QObject *p
KPackage::Package package = KPackage::PackageLoader::self()->loadPackage(QStringLiteral("Plasma/Shell"));
if (!package.isValid()) {
qCritical() << "starting invalid corona" << m_coronaPlugin;
Plasma::Theme theme;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment