From kde-devel Mon Aug 10 23:02:11 2009 From: Thomas =?utf-8?q?L=C3=BCbking?= Date: Mon, 10 Aug 2009 23:02:11 +0000 To: kde-devel Subject: Re: KMainWindow/KAboutData allows invalid names Message-Id: <200908110102.11803.thomas.luebking () web ! de> X-MARC-Message: https://marc.info/?l=kde-devel&m=124994573409669 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* >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<