Changed: Disable Settings and Uninstall menus (only there for debugging purposes), see #279

--HG--
branch : develop
This commit is contained in:
kervala 2016-09-14 08:14:34 +02:00
parent 742f8ab2e4
commit 7191bf1b41

View file

@ -41,6 +41,11 @@ CMainWindow::CMainWindow():QMainWindow()
connect(m_downloader, SIGNAL(htmlPageContent(QString)), SLOT(onHtmlPageContent(QString))); connect(m_downloader, SIGNAL(htmlPageContent(QString)), SLOT(onHtmlPageContent(QString)));
connect(actionProfiles, SIGNAL(triggered()), SLOT(onProfiles())); connect(actionProfiles, SIGNAL(triggered()), SLOT(onProfiles()));
// remove debug options
actionSettings->setVisible(false);
actionUninstall->setVisible(false);
connect(actionSettings, SIGNAL(triggered()), SLOT(onSettings())); connect(actionSettings, SIGNAL(triggered()), SLOT(onSettings()));
connect(actionUninstall, SIGNAL(triggered()), SLOT(onUninstall())); connect(actionUninstall, SIGNAL(triggered()), SLOT(onUninstall()));
connect(actionQuit, SIGNAL(triggered()), SLOT(onQuit())); connect(actionQuit, SIGNAL(triggered()), SLOT(onQuit()));