X-Git-Url: https://jfr.im/git/irc/weechat/qweechat.git/blobdiff_plain/7dcf23b19547e37dbadd98aaed99ce4656471dbe..e836cfb0f6b5e09e4d050d3c2e795d1577c5ea62:/src/qweechat/about.py diff --git a/src/qweechat/about.py b/src/qweechat/about.py index e010c8a..80023b4 100644 --- a/src/qweechat/about.py +++ b/src/qweechat/about.py @@ -1,7 +1,9 @@ #!/usr/bin/python # -*- coding: utf-8 -*- # -# Copyright (C) 2011 Sebastien Helleu +# about.py - about dialog box +# +# Copyright (C) 2011-2013 Sebastien Helleu # # This file is part of QWeeChat, a Qt remote GUI for WeeChat. # @@ -19,10 +21,6 @@ # along with QWeeChat. If not, see . # -# -# About dialog box. -# - import qt_compat QtCore = qt_compat.import_module('QtCore') QtGui = qt_compat.import_module('QtGui') @@ -32,7 +30,7 @@ class AboutDialog(QtGui.QDialog): """About dialog.""" def __init__(self, name, messages, *args): - apply(QtGui.QDialog.__init__, (self,) + args) + QtGui.QDialog.__init__(*(self,) + args) self.setModal(True) self.setWindowTitle(name)