KMainWindow/KAboutData allows invalid names
Thomas Lübking
thomas.luebking at web.de
Tue Aug 11 00:02:11 BST 2009
Am Tuesday 11 August 2009 schrieb Matthew Woehlke:
> Also.... you need to read the code more closely :-). The dbus path is
> two parts, one which appears to be the class name of the KMainWindow
...more like the objectName() (which afaics just like the classname needs to
be cpp compliant and thus is unlikely a problem anyway) but don't let's get
too picky on this ;-P
> ...
> Given that, I wonder if the sanitizing in KMainWindow is actually needed (I
don't know how you'd get non-identifier characters in there in the first
place, but
aha! =D
> since the code exists I have to assume it is possible).
not through designer, maybe by "setObjectName()", but i assume you'll get
another assert then. *shrug*
More information about the kde-core-devel
mailing list