diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-06-24 14:36:38 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-06-24 07:44:28 -0700 |
commit | f3b04a88dffcda6cbe10be81d5c9613e0ab00c37 (patch) | |
tree | a8deb49502d1b4bdf9015b057acc8e25df920377 /qt-ui/mainwindow.cpp | |
parent | ef0272f5efb7cfd7d864dbe1f53b18348de305d3 (diff) | |
download | subsurface-f3b04a88dffcda6cbe10be81d5c9613e0ab00c37.tar.gz |
Add an 'About' dialog for the Qt UI
The dialog is similar to the one in the GTK version
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index b61f962c4..fc454ab2f 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -33,6 +33,7 @@ #include "divecomputermanagementdialog.h" #include "simplewidgets.h" #include "diveplanner.h" +#include "about.h" static MainWindow* instance = 0; @@ -335,7 +336,7 @@ void MainWindow::on_actionInputPlan_triggered() void MainWindow::on_actionAboutSubsurface_triggered() { - qDebug("actionAboutSubsurface"); + SubsurfaceAbout::instance()->show(); } void MainWindow::on_actionUserManual_triggered() |