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()
10101010 // the main window as the active window for some reason. This fixes
10111011 // that by resetting the active window to the floating widget after
10121012 // updating the overlays.
1013- QApplication::setActiveWindow ( this );
1013+ activateWindow ( );
10141014#endif
10151015 break ;
10161016 default :
@@ -1248,7 +1248,7 @@ void CFloatingDockContainer::moveEvent(QMoveEvent *event)
12481248 // the main window as the active window for some reason. This fixes
12491249 // that by resetting the active window to the floating widget after
12501250 // updating the overlays.
1251- QApplication::setActiveWindow ( this );
1251+ activateWindow ( );
12521252 break ;
12531253 default :
12541254 break ;
You can’t perform that action at this time.
0 commit comments