Hi, I have class NavigationButton that derived from QAbstractButton. NavigationButton redefines property QString: text.
In my application I have one such button and initialize it with the following code: 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? Bellow stack trace of the second invoke: 0 QtMWidgets::NavigationButton::setText navigationbutton.cpp 147 0x424ae3 1 QtMWidgets::NavigationButton::qt_metacall moc_navigationbutton.cpp 148 0x42ed6a 2 QMetaProperty::write(QObject *, QVariant const&) const 0x7ffff65d7b60 3 QObject::setProperty(const char *, QVariant const&) 0x7ffff65ffca3 4 ?? 0x7fffe70792ed 5 ?? 0x7fffe707a95b 6 ?? 0x7fffe7611723 7 ?? 0x7fffe76127ae 8 QMetaObject::activate(QObject *, int, int, void * *) 0x7ffff65fd01a 9 QTimer::timerEvent(QTimerEvent *) 0x7ffff660af12 10 QObject::event(QEvent *) 0x7ffff65ff189 11 QApplicationPrivate::notify_helper(QObject *, QEvent *) 0x7ffff76af2b4 12 QApplication::notify(QObject *, QEvent *) 0x7ffff76b2c86 13 QCoreApplication::notifyInternal(QObject *, QEvent *) 0x7ffff65cae24 14 QTimerInfoList::activateTimers() 0x7ffff6624a54 15 ?? 0x7ffff6624cfd 16 g_main_context_dispatch 0x7ffff52cfc3d 17 ?? 0x7ffff52cff20 18 g_main_context_iteration 0x7ffff52cffcc 19 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 0x7ffff6625643 ... <More> And again: second invoke receive "&Send" as argument. From where this "&" appears? Thank you. P.S. In my code there is no setText() invokes... _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest