Changed: Reenable Debug menus in Debug, see #279

This commit is contained in:
kervala 2016-09-20 21:41:05 +02:00
parent 51aac8b5e9
commit 93434d6aea

View file

@ -43,8 +43,10 @@ CMainWindow::CMainWindow():QMainWindow()
connect(actionProfiles, SIGNAL(triggered()), SLOT(onProfiles())); connect(actionProfiles, SIGNAL(triggered()), SLOT(onProfiles()));
// remove debug options // remove debug options
#ifndef _DEBUG
actionSettings->setVisible(false); actionSettings->setVisible(false);
actionUninstall->setVisible(false); actionUninstall->setVisible(false);
#endif
connect(actionSettings, SIGNAL(triggered()), SLOT(onSettings())); connect(actionSettings, SIGNAL(triggered()), SLOT(onSettings()));
connect(actionUninstall, SIGNAL(triggered()), SLOT(onUninstall())); connect(actionUninstall, SIGNAL(triggered()), SLOT(onUninstall()));