[Kde-bindings] [Bug 279931] Qyoto has severely broken QFile class

Arno Rehn arno at arnorehn.de
Fri Aug 12 21:55:08 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=279931


Arno Rehn <arno at arnorehn.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID




--- Comment #4 from Arno Rehn <arno arnorehn de>  2011-08-12 21:55:08 ---
Yep, you're right. Setting this flag at that point will make it work
incorrectly. However, this has nothing to do with the bindings. It's the same
behaviour if you write it in plain C++/Qt (example attached).

Solution: Call SetTextModeEnabled(true) *after* you've opened the file. Then it
should work as expected.

Regarding me not testing the actual case presented: I didn't do that because
your example isn't self-contained. This has nothing to do with me being rude or
anything. It's just that I can't compile and test your example code without
modifying it (and thus maybe erasing the bug), which makes it *very* difficult
to track down the actual bug.

Sorry if I seemed rude or arrogant, that certainly hasn't been my intention.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kde-bindings mailing list