Commit ee6e4271 authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎮
Browse files

daemon: link to custom icons for better fallback icon in notifications

parent 86c12cd8
Pipeline #65447 passed with stage
in 3 minutes and 53 seconds
......@@ -7,7 +7,9 @@ ecm_qt_declare_logging_category(
DEFAULT_SEVERITY Warning
EXPORT kdeconnect-kde DESCRIPTION "kdeconnect (daemon)")
add_executable(kdeconnectd kdeconnectd.cpp ${debug_file_SRCS})
qt5_add_resources(kdeconnect_custom_icons_SRCS ${CMAKE_SOURCE_DIR}/icons/custom_icons.qrc)
add_executable(kdeconnectd kdeconnectd.cpp ${kdeconnect_custom_icons_SRCS} ${debug_file_SRCS})
target_link_libraries(kdeconnectd
kdeconnectcore kdeconnectversion
KF5::KIOWidgets
......
......@@ -38,7 +38,7 @@ public:
: Daemon(parent)
, m_nam(nullptr)
{
qApp->setWindowIcon(QIcon::fromTheme(QStringLiteral("kdeconnect")));
qApp->setWindowIcon(QIcon(QStringLiteral(":/icons/kdeconnect/kdeconnect.svg")));
}
void askPairingConfirmation(Device* device) override
......
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