QTfrontend/hwform.cpp
changeset 3697 d5b30d6373fc
parent 3324 339b271d6641
child 3757 ad2f669c8435
equal deleted inserted replaced
3695:c11abf387a7d 3697:d5b30d6373fc
    83 
    83 
    84     ui.setupUi(this);
    84     ui.setupUi(this);
    85     setMinimumSize(760, 580);
    85     setMinimumSize(760, 580);
    86 
    86 
    87     CustomizePalettes();
    87     CustomizePalettes();
    88     
    88 
    89     ui.pageOptions->CBResolution->addItems(sdli.getResolutions());
    89     ui.pageOptions->CBResolution->addItems(sdli.getResolutions());
    90 
    90 
    91     config = new GameUIConfig(this, cfgdir->absolutePath() + "/hedgewars.ini");
    91     config = new GameUIConfig(this, cfgdir->absolutePath() + "/hedgewars.ini");
    92 
    92 
    93     namegen = new HWNamegen();
    93     namegen = new HWNamegen();
    98         AutoUpdater* updater;
    98         AutoUpdater* updater;
    99         CocoaInitializer initializer;
    99         CocoaInitializer initializer;
   100         updater = new SparkleAutoUpdater(SPARKLE_APPCAST_URL);
   100         updater = new SparkleAutoUpdater(SPARKLE_APPCAST_URL);
   101     if(updater && config->isAutoUpdateEnabled())
   101     if(updater && config->isAutoUpdateEnabled())
   102             updater->checkForUpdates();
   102             updater->checkForUpdates();
   103 #endif        
   103 #endif
   104 #endif
   104 #endif
   105 
   105 
   106     UpdateTeamsLists();
   106     UpdateTeamsLists();
   107     UpdateWeapons();
   107     UpdateWeapons();
   108 
   108