mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
add window icon for linux
This commit is contained in:
parent
c5363da1e8
commit
0aa32694ef
2 changed files with 6 additions and 0 deletions
5
main.cpp
5
main.cpp
|
@ -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);
|
||||
|
||||
|
|
1
qml.qrc
1
qml.qrc
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue