add icon for Unix-style system

This commit is contained in:
Rafael 2016-03-29 18:52:25 +02:00
parent 956863c07c
commit 2e5d611af4
2 changed files with 4 additions and 1 deletions

View file

@ -176,6 +176,7 @@ void UserInterface::openSelectProfile()
void UserInterface::on_actionAbout_gta5sync_triggered() void UserInterface::on_actionAbout_gta5sync_triggered()
{ {
AboutDialog *aboutDialog = new AboutDialog(this); AboutDialog *aboutDialog = new AboutDialog(this);
aboutDialog->setWindowIcon(this->windowIcon());
aboutDialog->setWindowFlags(aboutDialog->windowFlags()^Qt::WindowContextHelpButtonHint); aboutDialog->setWindowFlags(aboutDialog->windowFlags()^Qt::WindowContextHelpButtonHint);
aboutDialog->show(); aboutDialog->show();
aboutDialog->exec(); aboutDialog->exec();

View file

@ -104,8 +104,10 @@ isEqual(QT_MAJOR_VERSION, 4): SOURCES += qjson4/QJsonArray.cpp \
unix: !macx: appfiles.path = $$(INSTALL_PATH)/share/applications unix: !macx: appfiles.path = $$(INSTALL_PATH)/share/applications
unix: !macx: appfiles.files = $$PWD/res/gta5sync.desktop unix: !macx: appfiles.files = $$PWD/res/gta5sync.desktop
unix: !macx: pixmaps.path = $$(INSTALL_PATH)/share/pixmaps
unix: !macx: pixmaps.files = $$PWD/res/gta5sync.xpm
unix: !macx: target.path = $$(INSTALL_PATH)/bin unix: !macx: target.path = $$(INSTALL_PATH)/bin
unix: !macx: INSTALLS += target appfiles unix: !macx: INSTALLS += target appfiles pixmaps
# STATIC BUILD STUFF # STATIC BUILD STUFF
static: isEqual(QT_MAJOR_VERSION, 4): QTPLUGIN += qjpcodecs static: isEqual(QT_MAJOR_VERSION, 4): QTPLUGIN += qjpcodecs