summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index e94cb5b7c..3b35d44e5 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -22,6 +22,7 @@ class DiveInfo;
class DiveNotes;
class Stats;
class Equipment;
+class QItemSelection;
class MainWindow : public QMainWindow
{
@@ -67,7 +68,8 @@ private Q_SLOTS:
void on_actionAboutSubsurface_triggered();
void on_actionUserManual_triggered();
- void diveSelected(const QModelIndex& index);
+ void dive_selection_changed(const QItemSelection& newSelection,
+ const QItemSelection& oldSelection);
protected:
void closeEvent(QCloseEvent *);