diff -r 2af25494f3bb -r 094a176dd623 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Fri Aug 16 13:43:08 2013 +0400 +++ b/QTfrontend/hwform.cpp Fri Aug 16 14:15:00 2013 +0400 @@ -165,14 +165,13 @@ #endif #ifdef __APPLE__ - AutoUpdater* updater = NULL; if (config->isAutoUpdateEnabled()) { -#ifdef __APPLE__ + AutoUpdater* updater = NULL; + #ifdef SPARKLE_ENABLED updater = new SparkleAutoUpdater(); #endif -#endif if (updater) { updater->checkForUpdates(); @@ -658,7 +657,7 @@ } QList teamsList; - for (QStringList::iterator it = tmNames.begin(); it != tmNames.end(); it++) + for (QStringList::iterator it = tmNames.begin(); it != tmNames.end(); ++it) { HWTeam team(*it); team.loadFromFile(); @@ -704,7 +703,7 @@ void HWForm::GoToPage(int id) { - bool stopAnim = false; + //bool stopAnim = false; int lastid = ui.Pages->currentIndex(); PagesStack.push(ui.Pages->currentIndex()); @@ -721,7 +720,7 @@ #if (QT_VERSION >= 0x040600) - if (!stopAnim) + //if (!stopAnim) { /**Start animation :**/ int coeff = 1; @@ -817,7 +816,7 @@ stopAnim = true; */ if ((!hwnet) || (!hwnet->isInRoom())) - if (id == ID_PAGE_NETGAME || id == ID_PAGE_NETGAME) + if (id == ID_PAGE_NETGAME) { stopAnim = true; GoBack();