aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 72ece9ace..8343f624b 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -55,9 +55,6 @@
#ifndef NO_USERMANUAL
#include "usermanual.h"
#endif
-#ifndef NO_USERSURVEY
-#include "usersurvey.h"
-#endif
#include <QNetworkProxy>
MainWindow *MainWindow::m_Instance = NULL;
@@ -121,10 +118,6 @@ MainWindow::MainWindow() : QMainWindow(),
#ifdef NO_USERMANUAL
ui.menuHelp->removeAction(ui.actionUserManual);
#endif
-#ifdef NO_USERSURVEY
- ui.menuHelp->removeAction(ui.actionUserSurvey);
-#endif
-
#ifdef NO_PRINTING
ui.menuFile->removeAction(ui.actionPrint);
#endif
@@ -754,12 +747,10 @@ void MainWindow::on_actionUserManual_triggered()
void MainWindow::on_actionUserSurvey_triggered()
{
-#ifndef NO_USERSURVEY
if(!survey) {
survey = new UserSurvey();
}
survey->show();
-#endif
}
QString MainWindow::filter()
@@ -964,14 +955,10 @@ void MainWindow::closeEvent(QCloseEvent *event)
}
#endif
-
-#ifndef NO_USERSURVEY
if (survey && survey->isVisible()) {
survey->close();
survey->deleteLater();
}
-#endif
-
if (unsaved_changes() && (askSaveChanges() == false)) {
event->ignore();