Changed: Reenable Debug menus in Debug, see #279
This commit is contained in:
parent
51aac8b5e9
commit
93434d6aea
1 changed files with 2 additions and 0 deletions
|
@ -43,8 +43,10 @@ CMainWindow::CMainWindow():QMainWindow()
|
|||
connect(actionProfiles, SIGNAL(triggered()), SLOT(onProfiles()));
|
||||
|
||||
// remove debug options
|
||||
#ifndef _DEBUG
|
||||
actionSettings->setVisible(false);
|
||||
actionUninstall->setVisible(false);
|
||||
#endif
|
||||
|
||||
connect(actionSettings, SIGNAL(triggered()), SLOT(onSettings()));
|
||||
connect(actionUninstall, SIGNAL(triggered()), SLOT(onUninstall()));
|
||||
|
|
Loading…
Reference in a new issue