urlhandler: make it a unique service
This commit is contained in:
parent
7f7f0d8992
commit
25cb6c9096
2 changed files with 3 additions and 0 deletions
|
@ -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"));
|
||||
|
|
Loading…
Reference in a new issue