[Interest] Interesting problem with properties.

Koehne Kai Kai.Koehne at theqtcompany.com
Wed May 27 22:41:14 CEST 2015


>>> sendButton = new QtMWidgets::NavigationButton(
>>>           QtMWidgets::NavigationButton::Right, QObject::tr( "Send" ), q );
>>>
>>> First setText() invokes with "Send" text from constructor of
>>> NavigationButton, it's normal. But I have second invoke with "&Send".
>>>
>>> What is the problem can be?
>> Interesting; something decided that your button should have an
>> accelerator? What platform are you on? (If Linux, what DE?)

>This problem appears on Linux Kubuntu 15.04. On Windows 7 I didn't see
>this problem.

This is most likely then the KDEPlatformTheme plugin messing with your texts.

See e.g. https://bugs.kde.org/show_bug.cgi?id=337491 . It doesn't seem like KDE considers this a problem ...

Regards

Kai


More information about the Interest mailing list