Application crash.
--HG-- branch : feature
This commit is contained in:
parent
d6c78ca1a1
commit
0e6188d847
|
@ -516,6 +516,7 @@ void VApplication::ClearOldLogs() const
|
|||
qCDebug(vApp) << "Failed to lock"<<info.absoluteFilePath();
|
||||
}
|
||||
delete lock;
|
||||
lock = nullptr;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
@ -1454,6 +1454,8 @@ void MainWindow::Clear()
|
|||
qCDebug(vMainWindow)<<"Reseting main window";
|
||||
|
||||
delete lock; // Unlock pattern file
|
||||
lock = nullptr;
|
||||
|
||||
ui->actionDetails->setChecked(false);
|
||||
ui->actionDetails->setEnabled(false);
|
||||
ui->actionDraw->setChecked(true);
|
||||
|
@ -2453,6 +2455,7 @@ QStringList MainWindow::GetUnlokedRestoreFileList() const
|
|||
restoreFiles.append(files.at(i));
|
||||
}
|
||||
delete lock;
|
||||
lock = nullptr;
|
||||
}
|
||||
|
||||
// Clearing list after filtering
|
||||
|
|
Loading…
Reference in New Issue
Block a user