Skip to content

Commit

Permalink
Window has icon
Browse files Browse the repository at this point in the history
  • Loading branch information
TronFortyTwo committed Jan 12, 2021
1 parent f515afd commit c6191f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion po/sturmreader.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sturmreader.emanuelesorce\n"
"Report-Msgid-Bugs-To: [email protected] - [email protected]\n"
"POT-Creation-Date: 2021-01-12 13:19+0100\n"
"POT-Creation-Date: 2021-01-12 13:31+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
2 changes: 2 additions & 0 deletions ui/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <QQmlEngine>
#include <QQmlContext>
#include <QLoggingCategory>
#include <QIcon>

#include <string>
#include <locale>
Expand Down Expand Up @@ -56,6 +57,7 @@ int main(int argc, char *argv[])
QString app_name = "sturmreader.emanuelesorce";
QGuiApplication *app = new QGuiApplication(argc, (char**)argv);
app->setApplicationName(app_name);
app->setWindowIcon(QIcon("ui/sturmreader.svg"));

// styling
StyleSetting styleSetting;
Expand Down

0 comments on commit c6191f9

Please sign in to comment.