From c89d2ff8f69e13882f1ae99e1c6347c4f6b3b6d1 Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Thu, 11 Jul 2019 14:52:00 -0700 Subject: [PATCH] #152 - Prevent crash on exit --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 72ebc2c..5f121a5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -138,7 +138,7 @@ class Application : public SignalHandler public: Application() : SignalHandler(SignalHandler::SIG_INT), w(nullptr) {} - ~Application() { delete w; } + ~Application() {} int main(int argc, char *argv[]) { QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);