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

Remove unistd.h

parent afdbd550
......@@ -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("keditbookmarks");
QString interfaceName = "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