forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user