From 8ded16fd1b1bda46ff20eadd9bd596c45afc96d6 Mon Sep 17 00:00:00 2001 From: Sergey Starosek Date: Thu, 9 Jan 2014 19:21:30 +0200 Subject: Switch to new UserManual implementation This enables search within user manual by pressing Ctrl-F. Esc key closes search panel. Signed-off-by: Sergey Starosek Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qt-ui/mainwindow.h') diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h index 83672eafa..7d14fc7fe 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -12,6 +12,7 @@ #include #include "ui_mainwindow.h" +#include "usermanual.h" struct DiveList; class QSortFilterProxyModel; @@ -102,7 +103,6 @@ private slots: void initialUiSetup(); void on_actionImportDiveLog_triggered(); - void linkClickedSlot(QUrl url); protected: void closeEvent(QCloseEvent *); @@ -117,7 +117,7 @@ private: Ui::MainWindow ui; QAction *actionNextDive; QAction *actionPreviousDive; - QWebView *helpView; + UserManual *helpView; CurrentState state; QString filter(); bool askSaveChanges(); -- cgit v1.2.3-70-g09d2