Fix FullScreen on Lion compile errors

Fix compile on Mac SDK < 10.7, silly initialisation
of fullScreen in MainWindow when it doesn't exist
and fixup gcconfig.pri.in definiton of GC_HAVE_LION.
This commit is contained in:
Mark Liversedge
2011-11-20 18:11:46 +00:00
parent 67ea9e2a6b
commit 0df41e4482
2 changed files with 1 additions and 3 deletions

View File

@@ -137,8 +137,6 @@ MainWindow::MainWindow(const QDir &home) :
QVariant unit = appsettings->value(this, GC_UNIT);
useMetricUnits = (unit.toString() == "Metric");
fullScreen = NULL;
#if (defined Q_OS_MAC) && (defined GC_HAVE_LION)
fullScreen = new LionFullScreen(this);
#endif