mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-09 00:58:15 +03:00
remove configuration window on hiding
This commit is contained in:
parent
5f5cfbad35
commit
de30d48f72
@ -42,6 +42,7 @@ DockConfigView::DockConfigView(Plasma::Containment *containment, DockView *dockV
|
||||
m_dockView(dockView)
|
||||
{
|
||||
setScreen(m_dockView->screen());
|
||||
|
||||
if (containment) {
|
||||
setIcon(QIcon::fromTheme(containment->corona()->kPackage().metadata().iconName()));
|
||||
}
|
||||
@ -205,6 +206,8 @@ void DockConfigView::hideEvent(QHideEvent *ev)
|
||||
m_dockView->containment()->setUserConfiguring(false);
|
||||
|
||||
QQuickWindow::hideEvent(ev);
|
||||
|
||||
deleteLater();
|
||||
}
|
||||
|
||||
void DockConfigView::focusOutEvent(QFocusEvent *ev)
|
||||
|
Loading…
x
Reference in New Issue
Block a user