File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,13 @@ void MainWindowPrivate::createContent()
544
544
545
545
#ifdef Q_OS_WIN
546
546
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
547
- DockManager->addDockWidget (ads::CenterDockWidgetArea, createActiveXWidget (), RighDockArea);
547
+ // If opaque undocking is active, then undocking of widgets while
548
+ // active x widget is visible causes jerking while dragging a floating
549
+ // widget
550
+ if (!ads::CDockManager::testConfigFlag (ads::CDockManager::OpaqueUndocking))
551
+ {
552
+ DockManager->addDockWidget (ads::CenterDockWidgetArea, createActiveXWidget (), RighDockArea);
553
+ }
548
554
#endif
549
555
#endif
550
556
@@ -697,7 +703,7 @@ CMainWindow::CMainWindow(QWidget *parent) :
697
703
698
704
// uncomment the following line if you want to use opaque undocking and
699
705
// opaque splitter resizing
700
- CDockManager::setConfigFlags (CDockManager::DefaultOpaqueConfig);
706
+ // CDockManager::setConfigFlags(CDockManager::DefaultOpaqueConfig);
701
707
702
708
// uncomment the following line if you want a fixed tab width that does
703
709
// not change if the visibility of the close button changes
You can’t perform that action at this time.
0 commit comments