]> jfr.im git - irc/weechat/qweechat.git/blobdiff - src/qweechat/about.py
Move comments with description of python file to top of files
[irc/weechat/qweechat.git] / src / qweechat / about.py
index e010c8ae7d4c84d84b5e9ba9c352206e4a97e87c..80023b405258b936fe942104e3cacd294a322811 100644 (file)
@@ -1,7 +1,9 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2011 Sebastien Helleu <flashcode@flashtux.org>
+# about.py - about dialog box
+#
+# Copyright (C) 2011-2013 Sebastien 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/>.
 #
 
-#
-# 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)