summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 53138f5a1..b343140b0 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -26,6 +26,7 @@
#include "modeldelegates.h"
#include "models.h"
#include "downloadfromdivecomputer.h"
+#include "preferences.h"
static MainWindow* instance = 0;
@@ -148,7 +149,7 @@ void MainWindow::on_actionPrint_triggered()
void MainWindow::on_actionPreferences_triggered()
{
- qDebug("actionPreferences");
+ PreferencesDialog::instance()->show();
}
void MainWindow::on_actionQuit_triggered()