diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-06-30 17:45:52 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-30 16:04:24 -0700 |
commit | 927bc5d60135f97f7241fbe9f77d745c6fceb517 (patch) | |
tree | fb9612a8b94803ed2d0685275ef141e9eee9edab /qt-ui/mainwindow.cpp | |
parent | 4c7ea24921ddf44b4250cf65209f96a4ff121620 (diff) | |
download | subsurface-927bc5d60135f97f7241fbe9f77d745c6fceb517.tar.gz |
Fixed SearchBar layout and icons
This is almost a rewrite of the Search function on the WebView
the old code had a few uneeded things, mostly being a subclass
of QMainWindow instead of the QWebView - this makes the code
use a tiny bit less ram.
The SearchBox was also moved to an own class ( we can use it
later to filter the contents of the DiveList for instance )
and a forced use of the pixmaps for the Mac and Windows platform
was added.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 28e4d7415..27f025402 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -706,7 +706,7 @@ void MainWindow::on_actionUserManual_triggered() { #ifndef NO_USERMANUAL if (!helpView) { - helpView = new UserManual(this); + helpView = new UserManual(); } helpView->show(); #endif |