mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Ref T643, disable interactive docking
This commit is contained in:
@@ -260,6 +260,12 @@ namespace BlackGui
|
||||
this->setFloating(floating);
|
||||
this->setAlwaysOnTop(m_alwaysOnTop && floating);
|
||||
|
||||
// disable the interactive docking
|
||||
if (floating)
|
||||
{
|
||||
this->setAllowedAreas(Qt::NoDockWidgetArea);
|
||||
}
|
||||
|
||||
if (shift && floating) { this->resetPosition(); }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user