diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp index 59c3f3e..f027acd 100644 --- a/app/mainwindow.cpp +++ b/app/mainwindow.cpp @@ -668,6 +668,7 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *event) if (event->type() == QEvent::FileOpen) { QFileOpenEvent *fileOpenEvent = static_cast(event); showUrls({fileOpenEvent->url()}); + initWindowSize(); return true; } return false;