From 0e6188d84718ff14eed5e6c50823102e53fbe679 Mon Sep 17 00:00:00 2001 From: dismine Date: Wed, 17 Dec 2014 14:57:17 +0200 Subject: [PATCH] Application crash. --HG-- branch : feature --- src/app/core/vapplication.cpp | 1 + src/app/mainwindow.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/app/core/vapplication.cpp b/src/app/core/vapplication.cpp index 74bb563de..5986897ad 100644 --- a/src/app/core/vapplication.cpp +++ b/src/app/core/vapplication.cpp @@ -516,6 +516,7 @@ void VApplication::ClearOldLogs() const qCDebug(vApp) << "Failed to lock"<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