mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdecore: use proper QString constructor in KToolInvocation::startServiceInternal()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
35f16c1935
commit
d7483fcdc4
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ int KToolInvocation::startServiceInternal(const char *_function,
|
|||
const QByteArray& startup_id, bool noWait,
|
||||
const QString& workdir)
|
||||
{
|
||||
QString function = QLatin1String(_function);
|
||||
QString function = QString::fromLatin1(_function);
|
||||
org::kde::KLauncher *launcher = KToolInvocation::klauncher();
|
||||
QDBusMessage msg = QDBusMessage::createMethodCall(launcher->service(),
|
||||
launcher->path(),
|
||||
|
|
Loading…
Add table
Reference in a new issue