QTfrontend/hwform.cpp
changeset 2511 446aac3c05a4
parent 2468 0b62498c201a
child 2527 a2c8b72069e8
equal deleted inserted replaced
2510:9e5b83c0b88f 2511:446aac3c05a4
    57 
    57 
    58 #ifdef __APPLE__
    58 #ifdef __APPLE__
    59 #include "CocoaInitializer.h"
    59 #include "CocoaInitializer.h"
    60 #include "M3Panel.h"
    60 #include "M3Panel.h"
    61 #ifdef SPARKLE_ENABLED
    61 #ifdef SPARKLE_ENABLED
       
    62 #define SPARKLE_APPCAST_URL "http://www.hedgewars.org/download/appcast.xml"
    62 #include "SparkleAutoUpdater.h"
    63 #include "SparkleAutoUpdater.h"
    63 #endif
    64 #endif
    64 #endif
    65 #endif
    65 
    66 
    66 // I started handing this down to each place it touches, but it was getting ridiculous
    67 // I started handing this down to each place it touches, but it was getting ridiculous
    90 #ifdef __APPLE__
    91 #ifdef __APPLE__
    91         panel = new M3Panel;
    92         panel = new M3Panel;
    92 #ifdef SPARKLE_ENABLED
    93 #ifdef SPARKLE_ENABLED
    93         AutoUpdater* updater;
    94         AutoUpdater* updater;
    94         CocoaInitializer initializer;
    95         CocoaInitializer initializer;
    95         updater = new SparkleAutoUpdater("http://files.getdropbox.com/u/24468/appcast.xml"); //this has to change before release!!!
    96         updater = new SparkleAutoUpdater(SPARKLE_APPCAST_URL);
    96         if(updater && config->isAutoUpdateEnabled())
    97 	if(updater && config->isAutoUpdateEnabled())
    97             updater->checkForUpdates();
    98             updater->checkForUpdates();
    98 #endif        
    99 #endif        
    99 #endif
   100 #endif
   100 
   101 
   101 	UpdateTeamsLists();
   102 	UpdateTeamsLists();