Commit f8d043f9 authored by Laurent Montel's avatar Laurent Montel 😁

Merge remote-tracking branch 'origin/Applications/17.04'

parents 3910ea7e b935af3c
......@@ -35,7 +35,6 @@
#include <kmessagebox.h>
#include <kwindowsystem.h>
#include <unistd.h>
#include <kbookmarkmanager.h>
#include <kbookmarkexporter.h>
......@@ -45,9 +44,8 @@
// TODO - make this register() or something like that and move dialog into main
static bool askUser(const QString& filename, bool &readonly) {
QString requestedName(QStringLiteral("keditbookmarks"));
QString interfaceName = QStringLiteral("org.kde.keditbookmarks");
QString appId = interfaceName + '-' +QString().setNum(getpid());
QString appId = interfaceName + '-' +QString().setNum(QApplication::applicationPid());
QDBusConnection dbus = QDBusConnection::sessionBus();
QDBusReply<QStringList> reply = dbus.interface()->registeredServiceNames();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment