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
Post a Comment