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
This commit is contained in:
Roman Telezhynskyi 2017-03-06 11:38:27 +02:00
parent a1ebea0a0d
commit d2057aa8ae

View file

@ -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)