From 25ddf2baeff0ad3b0feded63a5fb93e430cace63 Mon Sep 17 00:00:00 2001 From: ZhangTingan Date: Tue, 14 Apr 2026 20:14:36 +0800 Subject: [PATCH] fix: prevent crash when loadarchive Log: as title --- src/source/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {