Fix title of about dialog

This commit is contained in:
Sébastien Helleu 2021-11-14 18:35:26 +01:00
parent d69429b9c5
commit cca2a0fa68

View file

@ -33,7 +33,7 @@ class AboutDialog(QtGui.QDialog):
def __init__(self, app_name, author, weechat_site, *args): def __init__(self, app_name, author, weechat_site, *args):
QtGui.QDialog.__init__(*(self,) + args) QtGui.QDialog.__init__(*(self,) + args)
self.setModal(True) self.setModal(True)
self.setWindowTitle(app_name) self.setWindowTitle('About')
close_button = QtGui.QPushButton('Close') close_button = QtGui.QPushButton('Close')
close_button.pressed.connect(self.close) close_button.pressed.connect(self.close)