Changeset View
Changeset View
Standalone View
Standalone View
src/kauthexecutejob.cpp
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | |||||
78 | QVariantMap ExecuteJob::data() const | 78 | QVariantMap ExecuteJob::data() const | ||
79 | { | 79 | { | ||
80 | return d->data; | 80 | return d->data; | ||
81 | } | 81 | } | ||
82 | 82 | | |||
83 | void ExecuteJob::start() | 83 | void ExecuteJob::start() | ||
84 | { | 84 | { | ||
85 | if (!d->action.isValid()) { | 85 | if (!d->action.isValid()) { | ||
86 | qCWarning(KAUTH) << "Tried to start an invalid action"; | 86 | qCWarning(KAUTH) << "Tried to start an invalid action: " << d->action.name(); | ||
87 | ActionReply reply(ActionReply::InvalidActionError); | 87 | ActionReply reply(ActionReply::InvalidActionError); | ||
88 | reply.setErrorDescription(tr("Tried to start an invalid action")); | 88 | reply.setErrorDescription(tr("Tried to start an invalid action")); | ||
89 | d->actionPerformedSlot(d->action.name(), reply); | 89 | d->actionPerformedSlot(d->action.name(), reply); | ||
90 | return; | 90 | return; | ||
91 | } | 91 | } | ||
92 | 92 | | |||
93 | switch (d->mode) { | 93 | switch (d->mode) { | ||
94 | case Action::ExecuteMode: | 94 | case Action::ExecuteMode: | ||
▲ Show 20 Lines • Show All 147 Lines • Show Last 20 Lines |