urlhandler: add custom icons to exec and trigger kiconloader
This commit is contained in:
parent
25cb6c9096
commit
2a7ed030dc
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
ki18n_wrap_ui(telhandler_SRCS dialog.ui)
|
ki18n_wrap_ui(telhandler_SRCS dialog.ui)
|
||||||
|
|
||||||
add_executable(kdeconnect-handler kdeconnect-handler.cpp ${telhandler_SRCS})
|
qt5_add_resources(kdeconnect_custom_icons_SRCS ${CMAKE_SOURCE_DIR}/icons/custom_icons.qrc)
|
||||||
|
|
||||||
|
add_executable(kdeconnect-handler kdeconnect-handler.cpp ${telhandler_SRCS} ${kdeconnect_custom_icons_SRCS})
|
||||||
|
|
||||||
|
|
||||||
target_link_libraries(kdeconnect-handler
|
target_link_libraries(kdeconnect-handler
|
||||||
kdeconnectinterfaces
|
kdeconnectinterfaces
|
||||||
|
|
|
@ -45,6 +45,7 @@ int main(int argc, char** argv)
|
||||||
KAboutLicense::GPL,
|
KAboutLicense::GPL,
|
||||||
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") );
|
||||||
|
about.setProgramLogo(QIcon(QStringLiteral(":/icons/kdeconnect/kdeconnect.svg")));
|
||||||
KAboutData::setApplicationData(about);
|
KAboutData::setApplicationData(about);
|
||||||
KDBusService dbusService(KDBusService::Unique);
|
KDBusService dbusService(KDBusService::Unique);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue