[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] typo in pyuic3/object.cpp
From: Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date: 2005-11-17 18:17:53
Message-ID: 200511171817.53906.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]
On Thursday 17 November 2005 4:09 pm, Anders Quist wrote:
> 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 += ")";
> }
Thanks,
Phil
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic