Skip to content

Commit 8d26d14

Browse files
authored
fix: prevent crash when loadarchive (#387)
Log: as title
1 parent b68c477 commit 8d26d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/source/mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2610,7 +2610,7 @@ bool MainWindow::handleArguments_Open(const QStringList &listParam)
26102610
if (UiTools::isWayland() && firstLoad) {
26112611
firstLoad = false;
26122612
auto path = listParam[0];
2613-
QTimer::singleShot(200, [this, &path]() {
2613+
QTimer::singleShot(200, [this, path]() {
26142614
loadArchive(path);
26152615
});
26162616
} else {

0 commit comments

Comments
 (0)