From 98b9f67e3944452b38baf4577dddcc87c011845a Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 4 Dec 2017 11:51:16 -0500 Subject: [PATCH] [plasmalnf] Complain more loudly (and more often) when badly configured --- src/modules/plasmalnf/PlasmaLnfViewStep.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/plasmalnf/PlasmaLnfViewStep.cpp b/src/modules/plasmalnf/PlasmaLnfViewStep.cpp index fd6eab78d..452be8680 100644 --- a/src/modules/plasmalnf/PlasmaLnfViewStep.cpp +++ b/src/modules/plasmalnf/PlasmaLnfViewStep.cpp @@ -136,6 +136,11 @@ void PlasmaLnfViewStep::themeSelected( const QString& id ) { m_themeId = id; + if ( m_lnfPath.isEmpty() ) + { + cDebug() << "WARNING: no lnftool given for plasmalnf module."; + return; + } QProcess lnftool; if ( !m_liveUser.isEmpty() )