diff -r 7eb35faa7f7a -r 15dd764b728c QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Sun Apr 03 16:31:48 2011 +0400 +++ b/QTfrontend/hwform.cpp Sun Apr 03 16:34:12 2011 +0200 @@ -61,7 +61,6 @@ #include "drawmapwidget.h" #ifdef __APPLE__ -#include "CocoaInitializer.h" #include "M3Panel.h" #ifdef SPARKLE_ENABLED #define SPARKLE_APPCAST_URL "http://www.hedgewars.org/download/appcast.xml" @@ -101,7 +100,7 @@ #ifdef SPARKLE_ENABLED AutoUpdater* updater; - CocoaInitializer initializer; + updater = new SparkleAutoUpdater(SPARKLE_APPCAST_URL); if (updater && config->isAutoUpdateEnabled()) updater->checkForUpdates();