mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-30 17:14:58 +01:00
MainWindow: Maximize error dialog when window is shown
This commit is contained in:
parent
02bb875bb3
commit
58fc8c82bb
@ -1666,6 +1666,11 @@ void MainWindow::StopAfterCurrent() {
|
||||
|
||||
void MainWindow::showEvent(QShowEvent *e) {
|
||||
|
||||
if (error_dialog_ && error_dialog_->isVisible() && error_dialog_->isMinimized()) {
|
||||
error_dialog_->raise();
|
||||
error_dialog_->activateWindow();
|
||||
}
|
||||
|
||||
QMainWindow::showEvent(e);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user