urlhandler: add custom icons to exec and trigger kiconloader

This commit is contained in:
Piyush Aggarwal 2021-06-12 05:01:47 +05:30
parent 25cb6c9096
commit 2a7ed030dc
2 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,9 @@
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
kdeconnectinterfaces

View file

@ -45,6 +45,7 @@ int main(int argc, char** argv)
KAboutLicense::GPL,
i18n("(C) 2017 Aleix Pol Gonzalez"));
about.addAuthor( QStringLiteral("Aleix Pol Gonzalez"), QString(), QStringLiteral("aleixpol@kde.org") );
about.setProgramLogo(QIcon(QStringLiteral(":/icons/kdeconnect/kdeconnect.svg")));
KAboutData::setApplicationData(about);
KDBusService dbusService(KDBusService::Unique);