|
|
Quick question on set two shortcuts:
reopenAct->setShortcut(tr("Ctrl+R"));
reopenAct->setShortcut(tr("F5"));
fileMenu->addAction(reopenAct);
As above, two of them work, but the menu show just one "F5".
To reverse the order, only one works, right?
Can some tell the rule about how to set more than one shortcuts for one
QAction?
Thanks,
Lingfa
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|