diff --git a/src/ui/mainwindow.cc b/src/ui/mainwindow.cc index 4e9210419..1e25ea19b 100644 --- a/src/ui/mainwindow.cc +++ b/src/ui/mainwindow.cc @@ -2905,7 +2905,7 @@ void MainWindow::toggleMainWindow( bool ensureShow ) shown = true; } else if ( !isActiveWindow() ) { - setWindowState( (windowState() & ~Qt::WindowMinimized) | Qt::WindowActive); + setWindowState( ( windowState() & ~Qt::WindowMinimized ) | Qt::WindowActive ); if ( cfg.preferences.raiseWindowOnSearch ) { raise(); }