add _kde_side_panel_view property to page container
With this the sidebars look better with the breeze theme Signed-off-by: leo78913 <leo3758@riseup.net>
This commit is contained in:
parent
f9578066d6
commit
e8dc1564b6
@ -103,6 +103,7 @@ public:
|
|||||||
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding);
|
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding);
|
||||||
setItemDelegate(new PageViewDelegate(this));
|
setItemDelegate(new PageViewDelegate(this));
|
||||||
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||||
|
setProperty("_kde_side_panel_view", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual QSize sizeHint() const
|
virtual QSize sizeHint() const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user