| Subject: | [Qt-interest] Stopping QAction from parsing "&" |
|---|---|
| From: | Nikos Chantziaras |
| Date: | Thu, 10 Jun 2010 22:52:11 +0300 |
I have a QMenu where I add QActions using the QMenu::addAction(const QString& text) function. Problem is, 'text' contains filenames (you guessed it; it's for a "Recent Files" menu), and some of the filenames contain "&" characters. This gets parsed and generates a shortcut. That's wrong, of course. How do I prevent this from happening? _______________________________________________ Qt-interest mailing list Qt-interest@xxxxxxxxxxxxx http://lists.trolltech.com/mailman/listinfo/qt-interest |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Qt-interest] Is there a NetworkManager like utility in QT, Thiago Macieira |
|---|---|
| Next by Date: | Re: [Qt-interest] QFileInfo doesn't work after QDir::setCurrent. Bug?, Scott Bloom |
| Previous by Thread: | [Qt-interest] QMenu requires mouse movement..., Eric Clark |
| Next by Thread: | Re: [Qt-interest] Stopping QAction from parsing "&", Colin S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |