summaryrefslogtreecommitdiffstats
path: root/qml/mageiawelcome.py
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2018-12-27 18:29:11 +0100
committerPapoteur <papoteur@mageia.org>2018-12-28 08:44:48 +0100
commite51ce3dd70fedc4f37beb77955f72e7d1041118c (patch)
treebd3669135d986f416cc44cb1500f1bfa8f1292b8 /qml/mageiawelcome.py
parentd0fe5db6b665fcb79b6bde09e1363906fed1f0a1 (diff)
downloadmageiawelcome-e51ce3dd70fedc4f37beb77955f72e7d1041118c.tar
mageiawelcome-e51ce3dd70fedc4f37beb77955f72e7d1041118c.tar.gz
mageiawelcome-e51ce3dd70fedc4f37beb77955f72e7d1041118c.tar.bz2
mageiawelcome-e51ce3dd70fedc4f37beb77955f72e7d1041118c.tar.xz
mageiawelcome-e51ce3dd70fedc4f37beb77955f72e7d1041118c.zip
Add application icon
Diffstat (limited to 'qml/mageiawelcome.py')
-rw-r--r--qml/mageiawelcome.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qml/mageiawelcome.py b/qml/mageiawelcome.py
index 132922f..8439ff7 100644
--- a/qml/mageiawelcome.py
+++ b/qml/mageiawelcome.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
-from PyQt5.QtGui import QGuiApplication
+from PyQt5.QtGui import QGuiApplication, QIcon
from PyQt5.QtQuick import QQuickView
from PyQt5.QtCore import QUrl, QLocale, QTranslator, QLibraryInfo, QVariant, QAbstractListModel, \
QModelIndex, Qt, QObject, pyqtSlot
@@ -147,6 +147,7 @@ if __name__ == '__main__':
view = QQuickView()
view.setResizeMode(QQuickView.SizeRootObjectToView)
view.setTitle(app.tr("Welcome to Mageia"))
+ app.setWindowIcon(QIcon("icons/32x32/apps/mageiawelcome.png"))
cb = Callbrowser()
la = Launcher()
us = username()