summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>2013-08-22 16:20:47 -0300
committerGravatar Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>2013-08-25 19:03:43 -0300
commit1e6973180403e513c6c9469ec92751f083f5ff3c (patch)
tree869b32ff65a7f821d14235c1f18d045d2e667fff /qt-ui/mainwindow.h
parent2fb2918607ffb857543b9060fd9f18f0d07ab780 (diff)
downloadsubsurface-1e6973180403e513c6c9469ec92751f083f5ff3c.tar.gz
use QWebView to show the user manual
Looks like the QTextBrowser can't render the manual correctly. Also, QWebView provides a better way to find contents on a webpage, which is an important feature for an user manual (to be implemented). Signed-off-by: Danilo Cesar Lemes de Paula <danilo.eu@gmail.com>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 2009740fe..0b0b0055d 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -29,7 +29,7 @@ class DiveListView;
class GlobeGPS;
class MainTab;
class ProfileGraphicsView;
-class QTextBrowser;
+class QWebView;
enum MainWindowTitleFormat { MWTF_DEFAULT, MWTF_FILENAME };
@@ -110,7 +110,7 @@ private:
Ui::MainWindow *ui;
QAction *actionNextDive;
QAction *actionPreviousDive;
- QTextBrowser *helpView;
+ QWebView *helpView;
QString filter();
bool askSaveChanges();
void writeSettings();