mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kde-menu: debug type build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
93f0db83f4
commit
62c3a8ff03
1 changed files with 2 additions and 2 deletions
|
@ -149,14 +149,14 @@ int main(int argc, char **argv)
|
|||
QString command = KStandardDirs::findExe(KBUILDSYCOCA_EXENAME);
|
||||
if (command.isEmpty())
|
||||
{
|
||||
error(4, i18n("Could not find '%1' executable.", KBUILDSYCOCA_EXENAME));
|
||||
error(4, i18n("Could not find '%1' executable.", QLatin1String(KBUILDSYCOCA_EXENAME)));
|
||||
}
|
||||
QDBusMessage reply = KToolInvocation::klauncher()->call("kdeinit_exec_wait", command, args, QStringList(), QString());
|
||||
if (reply.type() != QDBusMessage::ReplyMessage)
|
||||
{
|
||||
qWarning("Can not talk to klauncher!");
|
||||
if (QProcess::execute(command, args) != 0) {
|
||||
error(5, i18n("Could not execute '%1'.", KBUILDSYCOCA_EXENAME));
|
||||
error(5, i18n("Could not execute '%1'.", QLatin1String(KBUILDSYCOCA_EXENAME)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue