From 0aa32694efa22fca11047d1c6e1654653d6dce6f Mon Sep 17 00:00:00 2001 From: pazos Date: Wed, 14 Mar 2018 18:08:52 +0100 Subject: [PATCH] add window icon for linux --- main.cpp | 5 +++++ qml.qrc | 1 + 2 files changed, 6 insertions(+) diff --git a/main.cpp b/main.cpp index 9fac6ee2..301caf7a 100644 --- a/main.cpp +++ b/main.cpp @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -91,6 +92,10 @@ int main(int argc, char *argv[]) app.setOrganizationDomain("getmonero.org"); app.setOrganizationName("monero-project"); + #if defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID) + app.setWindowIcon(QIcon(":/images/appicon.ico")); + #endif + filter *eventFilter = new filter; app.installEventFilter(eventFilter); diff --git a/qml.qrc b/qml.qrc index 704f5daf..9cbec570 100644 --- a/qml.qrc +++ b/qml.qrc @@ -165,5 +165,6 @@ components/RemoteNodeEdit.qml pages/Keys.qml images/menu.png + images/appicon.ico