mirror of
https://github.com/KDE/konsole.git
synced 2025-12-23 23:38:08 -05:00
Call setHandleWidth() to set initial size for splitDragHandleSize
There was only a connect on change, no initial setting. BUG: 498078
This commit is contained in:
committed by
Tomaz Canabrava
parent
ca5461dc20
commit
5b0fe40730
@@ -54,6 +54,7 @@ ViewSplitter::ViewSplitter(QWidget *parent)
|
||||
, _id(++lastSplitterId)
|
||||
{
|
||||
setAcceptDrops(true);
|
||||
setHandleWidth(calculateHandleWidth(KonsoleSettings::self()->splitDragHandleSize()));
|
||||
connect(KonsoleSettings::self(), &KonsoleSettings::configChanged, this, [this] {
|
||||
setHandleWidth(calculateHandleWidth(KonsoleSettings::self()->splitDragHandleSize()));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user