qt - Why am I unable to make a QMenu invisible? -


i added qmenu designer qmainwindow actions debugging , tests. want make invisible realese compilation.

however when call:

ui->menutests->setvisible(false); 

nothing happens? how make menu not visible without removing application? (i can disable it, horrible....)

set visible/unvisible action, not qmenu:

ui->menutests->menuaction()->setvisible(false); 

Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -