Fix non-osx build broken in ra874d00df4a4. Dudes... :(
authorunc0rr
Mon, 10 Dec 2012 12:06:02 +0400
changeset 8287 e2a5dece221f
parent 8286 2e7eedac380d
child 8288 fd6743995dfc
Fix non-osx build broken in ra874d00df4a4. Dudes... :(
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Mon Dec 10 11:45:21 2012 +0400
+++ b/QTfrontend/hwform.cpp	Mon Dec 10 12:06:02 2012 +0400
@@ -147,6 +147,7 @@
     ui.pageOptions->setConfig(config);
 #endif
 
+#ifdef __APPLE__
     AutoUpdater* updater = NULL;
     if (config->isAutoUpdateEnabled())
     {
@@ -161,6 +162,7 @@
             delete updater;
         }
     }
+#endif
 
 #ifdef __APPLE__
     panel = new M3Panel;