From 0f5835422dcb7df74e8db459fb4abc724c6c7714 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 5afd2fc..45cf2eb 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);