]> jfr.im git - irc/weechat/qweechat.git/blobdiff - src/qweechat/about.py
Add missing utf-8 decoding for buffer title
[irc/weechat/qweechat.git] / src / qweechat / about.py
index e010c8ae7d4c84d84b5e9ba9c352206e4a97e87c..3e08b734cfaf70a6ee9332fdf7bc81cbaa8f630c 100644 (file)
@@ -1,7 +1,7 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2011 Sebastien Helleu <flashcode@flashtux.org>
+# Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
 #
 # This file is part of QWeeChat, a Qt remote GUI for WeeChat.
 #
@@ -32,7 +32,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)