Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KDE Connect
Commits
25cb6c90
Commit
25cb6c90
authored
Jun 11, 2021
by
Piyush Aggarwal
🎮
Browse files
urlhandler: make it a unique service
parent
7f7f0d89
Pipeline
#65307
passed with stage
in 4 minutes and 34 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
urlhandler/CMakeLists.txt
View file @
25cb6c90
...
@@ -8,6 +8,7 @@ target_link_libraries(kdeconnect-handler
...
@@ -8,6 +8,7 @@ target_link_libraries(kdeconnect-handler
kdeconnectversion
kdeconnectversion
Qt5::Widgets
Qt5::Widgets
KF5::CoreAddons
KF5::CoreAddons
KF5::DBusAddons
KF5::I18n
KF5::I18n
KF5::KIOCore KF5::KIOFileWidgets KF5::KIOWidgets KF5::KIONTLM
KF5::KIOCore KF5::KIOFileWidgets KF5::KIOWidgets KF5::KIONTLM
)
)
...
...
urlhandler/kdeconnect-handler.cpp
View file @
25cb6c90
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
#include
<KAboutData>
#include
<KAboutData>
#include
<KLocalizedString>
#include
<KLocalizedString>
#include
<KUrlRequester>
#include
<KUrlRequester>
#include
<KDBusService>
#include
<dbushelper.h>
#include
<dbushelper.h>
...
@@ -45,6 +46,7 @@ int main(int argc, char** argv)
...
@@ -45,6 +46,7 @@ int main(int argc, char** argv)
i18n
(
"(C) 2017 Aleix Pol Gonzalez"
));
i18n
(
"(C) 2017 Aleix Pol Gonzalez"
));
about
.
addAuthor
(
QStringLiteral
(
"Aleix Pol Gonzalez"
),
QString
(),
QStringLiteral
(
"aleixpol@kde.org"
)
);
about
.
addAuthor
(
QStringLiteral
(
"Aleix Pol Gonzalez"
),
QString
(),
QStringLiteral
(
"aleixpol@kde.org"
)
);
KAboutData
::
setApplicationData
(
about
);
KAboutData
::
setApplicationData
(
about
);
KDBusService
dbusService
(
KDBusService
::
Unique
);
#ifdef Q_OS_WIN
#ifdef Q_OS_WIN
QApplication
::
setStyle
(
QStringLiteral
(
"breeze"
));
QApplication
::
setStyle
(
QStringLiteral
(
"breeze"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment