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:
parent
c5363da1e8
commit
0aa32694ef
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user