1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-25 10:47:19 +01:00

add window icon for linux

This commit is contained in:
pazos 2018-03-14 18:08:52 +01:00
parent c5363da1e8
commit 0aa32694ef
2 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,7 @@
#include <QQmlApplicationEngine>
#include <QtQml>
#include <QStandardPaths>
#include <QIcon>
#include <QDebug>
#include <QObject>
#include <QDesktopWidget>
@ -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);

View File

@ -165,5 +165,6 @@
<file>components/RemoteNodeEdit.qml</file>
<file>pages/Keys.qml</file>
<file>images/menu.png</file>
<file>images/appicon.ico</file>
</qresource>
</RCC>