]> jfr.im git - irc/weechat/qweechat.git/blobdiff - qweechat/about.py
Remove "Running with PySide6" from about dialog
[irc/weechat/qweechat.git] / qweechat / about.py
index 38a8ef175907a86450db7c03ffee8b4970b7728b..5336ac4d3da65c238aa486dd92a54ed6a0afd08a 100644 (file)
@@ -2,7 +2,7 @@
 #
 # about.py - about dialog box
 #
-# Copyright (C) 2011-2020 Sébastien Helleu <flashcode@flashtux.org>
+# Copyright (C) 2011-2021 Sébastien Helleu <flashcode@flashtux.org>
 #
 # This file is part of QWeeChat, a Qt remote GUI for WeeChat.
 #
 # along with QWeeChat.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-import qt_compat
-
-QtCore = qt_compat.import_module('QtCore')
-QtGui = qt_compat.import_module('QtGui')
+from PySide6 import QtCore, QtWidgets as QtGui
 
 
 class AboutDialog(QtGui.QDialog):
@@ -44,7 +41,7 @@ class AboutDialog(QtGui.QDialog):
 
         vbox = QtGui.QVBoxLayout()
         for msg in messages:
-            label = QtGui.QLabel(msg.decode('utf-8'))
+            label = QtGui.QLabel(msg)
             label.setAlignment(QtCore.Qt.AlignHCenter)
             vbox.addWidget(label)
         vbox.addLayout(hbox)