summaryrefslogtreecommitdiff
path: root/gui/main.cpp
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-10-09 21:58:15 +0200
committerRuben Pollan <meskio@sindominio.net>2020-10-13 19:08:55 +0200
commitf8c05f3dee29c7ab1eb3eba82c917fe18333fc41 (patch)
tree4dc17ad736d670652c8f6f9437afd9a71f4cdada /gui/main.cpp
parent73d0c7a96df2212d5a3ee6289fc286f3e6459028 (diff)
[pkg] add vendor icon to app
Diffstat (limited to 'gui/main.cpp')
-rw-r--r--gui/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/main.cpp b/gui/main.cpp
index 684b0be..893cb4d 100644
--- a/gui/main.cpp
+++ b/gui/main.cpp
@@ -152,6 +152,9 @@ int main(int argc, char **argv) {
QTranslator translator;
translator.load(QLocale(), QLatin1String("main"), QLatin1String("_"), QLatin1String(":/i18n"));
app.installTranslator(&translator);
+ /* set window icon */
+ app.setWindowIcon(QIcon(":/vendor/icon.svg"));
+
QQmlApplicationEngine engine;
QQmlContext *ctx = engine.rootContext();