aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/help/openpagesswitcher.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-04-15 17:13:10 +0200
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-04-15 19:14:00 +0200
commit02ebee6d23eaea537b571a56d51876c33b942565 (patch)
treeada213abc8941c837c57f1b7b0485eb877fa050f /src/plugins/help/openpagesswitcher.h
parentebb752230ffde4966150598e61a84df868581005 (diff)
Tweak frame for open editors and open help pages switchers
In the GTK style the scroll bar likes to be outside of the scroll area frame. Like with the completion widget, we put the visible frame explicitly outside of the scroll bar. Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'src/plugins/help/openpagesswitcher.h')
-rw-r--r--src/plugins/help/openpagesswitcher.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/help/openpagesswitcher.h b/src/plugins/help/openpagesswitcher.h
index 9cbd0e2044..e4f9bc1232 100644
--- a/src/plugins/help/openpagesswitcher.h
+++ b/src/plugins/help/openpagesswitcher.h
@@ -30,7 +30,7 @@
#ifndef OPENPAGESSWITCHER_H
#define OPENPAGESSWITCHER_H
-#include <QtGui/QWidget>
+#include <QtGui/QFrame>
QT_FORWARD_DECLARE_CLASS(QModelIndex)
@@ -40,7 +40,7 @@ namespace Help {
class OpenPagesModel;
class OpenPagesWidget;
-class OpenPagesSwitcher : public QWidget
+class OpenPagesSwitcher : public QFrame
{
Q_OBJECT