--warning unused variable
This commit is contained in:
parent
f75eb2d984
commit
4b222c5ef6
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include <qstandardpaths.h>
|
#include <qstandardpaths.h>
|
||||||
#include <klocalizedstring.h>
|
#include <klocalizedstring.h>
|
||||||
@ -116,6 +117,9 @@ void AssociatedApplicationManager::run(Plasma::Applet *applet)
|
|||||||
if (d->applicationNames.contains(applet)) {
|
if (d->applicationNames.contains(applet)) {
|
||||||
#if !PLASMA_NO_KIO
|
#if !PLASMA_NO_KIO
|
||||||
bool success = KRun::run(d->applicationNames.value(applet), d->urlLists.value(applet), 0);
|
bool success = KRun::run(d->applicationNames.value(applet), d->urlLists.value(applet), 0);
|
||||||
|
if (!success) {
|
||||||
|
qWarning() << "couldn't run" << d->applicationNames.value(applet) << d->urlLists.value(applet);
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
QString execCommand = d->applicationNames.value(applet);
|
QString execCommand = d->applicationNames.value(applet);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user