[PyKDE] typo in pyuic3/object.cpp
Anders Quist
quest at strakt.com
Thu Nov 17 16:09:00 GMT 2005
Misspelling of accel in object.cpp means that pyuic creates calls to
setAccel contains a string, rather than a QKeySequence as the
condition doesn't match the .ui file property.
--- pyuic3/object.cpp.orig 2005-11-17 17:00:02.000000000 +0100
+++ pyuic3/object.cpp 2005-11-17 17:01:35.000000000 +0100
@@ -166,7 +166,7 @@
call += "setProperty(\"" + prop + "\",QVariant(";
tail = "))";
}
- if ( prop == "accell" ) {
+ if ( prop == "accel" ) {
call += "QKeySequence(";
tail += ")";
}
--
Anders Qvist, AB Strakt
More information about the PyQt
mailing list