diff --git a/src/app/qgisapp.h b/src/app/qgisapp.h index f8b93149007..21c2adf1e3a 100644 --- a/src/app/qgisapp.h +++ b/src/app/qgisapp.h @@ -359,7 +359,7 @@ class QgisApp : public QMainWindow //! returns pointer to map legend QgsLegend *legend(); -#if Q_OS_WIN +#ifdef Q_OS_WIN //! ugly hack void skipNextContextMenuEvent(); #endif