diff --git a/src/source/mainwindow.cpp b/src/source/mainwindow.cpp index 90b581aa..620eecf2 100644 --- a/src/source/mainwindow.cpp +++ b/src/source/mainwindow.cpp @@ -2610,7 +2610,7 @@ bool MainWindow::handleArguments_Open(const QStringList &listParam) if (UiTools::isWayland() && firstLoad) { firstLoad = false; auto path = listParam[0]; - QTimer::singleShot(200, [this, &path]() { + QTimer::singleShot(200, [this, path]() { loadArchive(path); }); } else {