From 4cab5b0dc9a673786373c11138c2588cb256aff2 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 4 Jun 2018 12:00:36 +0300 Subject: [PATCH] Enable the version checker on Mac. --HG-- branch : develop --- src/app/valentina/main.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/app/valentina/main.cpp b/src/app/valentina/main.cpp index 36f45740a..b5aaa90e0 100644 --- a/src/app/valentina/main.cpp +++ b/src/app/valentina/main.cpp @@ -46,7 +46,7 @@ int main(int argc, char *argv[]) Q_INIT_RESOURCE(icons); Q_INIT_RESOURCE(toolicon); - QT_REQUIRE_VERSION(argc, argv, "5.2.0")// clazy:exclude=qstring-arg + QT_REQUIRE_VERSION(argc, argv, "5.2.0")// clazy:exclude=qstring-arg,qstring-allocations #if defined(Q_OS_WIN) VAbstractApplication::WinAttachConsole(); @@ -63,9 +63,6 @@ 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 on Mac OS. -#if !defined(Q_OS_MAC) || !defined(V_NO_ASSERT) if (VApplication::IsGUIMode()) { // Set feed URL before doing anything else @@ -74,7 +71,6 @@ int main(int argc, char *argv[]) // Check for updates automatically FvUpdater::sharedUpdater()->CheckForUpdatesSilent(); } -#endif // V_NO_ASSERT MainWindow w; #if !defined(Q_OS_MAC)