Update overlay geometries when central widget changes size
We were only updating the overlays when the main window changed size, but it can happen that only the central widget changes size, for example when you remove or add a toolbar Fixes #227
This commit is contained in:
@@ -87,6 +87,10 @@ MainWindowBase::MainWindowBase(const QString &uniqueName, KDDockWidgets::MainWin
|
||||
|
||||
connect(d->m_layoutWidget, &LayoutWidget::visibleWidgetCountChanged, this,
|
||||
&MainWindowBase::frameCountChanged);
|
||||
|
||||
connect(this, &MainWindowBase::centralWidgetResized, this, [this] {
|
||||
d->updateOverlayedDockWidgetGeometries();
|
||||
});
|
||||
}
|
||||
|
||||
MainWindowBase::~MainWindowBase()
|
||||
|
||||
Reference in New Issue
Block a user