File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1010,7 +1010,7 @@ void CFloatingDockContainer::moveFloating()
1010
1010
// the main window as the active window for some reason. This fixes
1011
1011
// that by resetting the active window to the floating widget after
1012
1012
// updating the overlays.
1013
- QApplication::setActiveWindow ( this );
1013
+ activateWindow ( );
1014
1014
#endif
1015
1015
break ;
1016
1016
default :
@@ -1248,7 +1248,7 @@ void CFloatingDockContainer::moveEvent(QMoveEvent *event)
1248
1248
// the main window as the active window for some reason. This fixes
1249
1249
// that by resetting the active window to the floating widget after
1250
1250
// updating the overlays.
1251
- QApplication::setActiveWindow ( this );
1251
+ activateWindow ( );
1252
1252
break ;
1253
1253
default :
1254
1254
break ;
You can’t perform that action at this time.
0 commit comments