PDA

View Full Version : Hiding an entry from a QMenuBar in Qt4?



joelthelion
24th March 2010, 12:31
I can find no non-deprecated way of hiding an item in a menu bar in Qt4.

This post: http://qt.nokia.com/developer/faqs/585 gives a method that uses deprecated Qt3 compatibility functions.

Is there a better way?

spud
24th March 2010, 14:45
If I understood you correctly, you need QAction::setVisible().