diff options
author | Papoteur <papoteur@mageia.org> | 2018-12-27 18:29:11 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2018-12-28 08:44:48 +0100 |
commit | e51ce3dd70fedc4f37beb77955f72e7d1041118c (patch) | |
tree | bd3669135d986f416cc44cb1500f1bfa8f1292b8 /qml/mageiawelcome.py | |
parent | d0fe5db6b665fcb79b6bde09e1363906fed1f0a1 (diff) | |
download | mageiawelcome-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.py | 3 |
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() |