mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-09 00:58:15 +03:00
remove no needed containment actions
This commit is contained in:
parent
9b1dea34e2
commit
9259ee3bc3
@ -72,8 +72,11 @@ DockView::DockView(Plasma::Corona *corona, QScreen *targetScreen)
|
||||
m_visibility = new VisibilityManager(this);
|
||||
}
|
||||
|
||||
//QAction *lockWidgetsAction = containment()->actions()->action("lock widgets");
|
||||
//containment()->actions()->removeAction(lockWidgetsAction);
|
||||
QAction *lockWidgetsAction = containment()->actions()->action("lock widgets");
|
||||
containment()->actions()->removeAction(lockWidgetsAction);
|
||||
|
||||
//QAction *addWidgetsAction = containment()->actions()->action("add widgets");
|
||||
//containment()->actions()->removeAction(addWidgetsAction);
|
||||
|
||||
}, Qt::DirectConnection);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user