Commit 25cb6c90 authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎮
Browse files

urlhandler: make it a unique service

parent 7f7f0d89
Pipeline #65307 passed with stage
in 4 minutes and 34 seconds
......@@ -8,6 +8,7 @@ target_link_libraries(kdeconnect-handler
kdeconnectversion
Qt5::Widgets
KF5::CoreAddons
KF5::DBusAddons
KF5::I18n
KF5::KIOCore KF5::KIOFileWidgets KF5::KIOWidgets KF5::KIONTLM
)
......
......@@ -18,6 +18,7 @@
#include <KAboutData>
#include <KLocalizedString>
#include <KUrlRequester>
#include <KDBusService>
#include <dbushelper.h>
......@@ -45,6 +46,7 @@ int main(int argc, char** argv)
i18n("(C) 2017 Aleix Pol Gonzalez"));
about.addAuthor( QStringLiteral("Aleix Pol Gonzalez"), QString(), QStringLiteral("aleixpol@kde.org") );
KAboutData::setApplicationData(about);
KDBusService dbusService(KDBusService::Unique);
#ifdef Q_OS_WIN
QApplication::setStyle(QStringLiteral("breeze"));
......
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