From d2057aa8ae9b421e749f946f5a99f9062df61292 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 6 Mar 2017 11:38:27 +0200 Subject: [PATCH] Fixed issue #633. Valentina crashes when check for updates on Mac. This is temporary solution. We just disabled checking in release mode. User still can crash program if go to About Valentina/Tape dialog anf click on button Check update. Such a decidion will left us chance get more bug reports from users. --HG-- branch : develop --- src/app/valentina/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/valentina/main.cpp b/src/app/valentina/main.cpp index 8943ecb73..9dad7ebc1 100644 --- a/src/app/valentina/main.cpp +++ b/src/app/valentina/main.cpp @@ -64,6 +64,9 @@ int main(int argc, char *argv[]) app.InitOptions(); + // Due to unknown reasons version checker cause a crash. See issue #633. + // Before we will find what cause such crashes it will stay disabled in Release mode. +#ifndef V_NO_ASSERT if (VApplication::IsGUIMode()) { // Set feed URL before doing anything else @@ -72,6 +75,7 @@ int main(int argc, char *argv[]) // Check for updates automatically FvUpdater::sharedUpdater()->CheckForUpdatesSilent(); } +#endif // V_NO_ASSERT MainWindow w; #if !defined(Q_OS_MAC)