Fixed a porting bug.

Tue, 23 Feb 2010 18:45:20 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 23 Feb 2010 18:45:20 +0000
changeset 121
2ce3ab9417e6
parent 120
c0ef4b5e679a
child 122
34a81cd4420b

Fixed a porting bug.

Project/CreateDialogCodeDialog.py file | annotate | diff | comparison | revisions
--- a/Project/CreateDialogCodeDialog.py	Sat Feb 20 09:06:07 2010 +0000
+++ b/Project/CreateDialogCodeDialog.py	Tue Feb 23 18:45:20 2010 +0000
@@ -219,8 +219,8 @@
                             method = "on_%s_%s" % \
                                 (name, metaMethod.signature().split("(")[0])
                             method2 = "on_%s_%s" % \
-                                (name, 
-                                 QMetaObject.normalizedSignature(metaMethod.signature()))
+                                (name, bytes(QMetaObject.normalizedSignature(
+                                    metaMethod.signature())).decode())
                             
                             if method2 in signatureList or method in signatureList:
                                 itm2.setFlags(Qt.ItemFlags(Qt.ItemIsEnabled))

eric ide

mercurial