Skip to content
Permalink
Browse files

Merge pull request #5822 from Gustry/fix_build_macos

add missing include for macos
  • Loading branch information
nyalldawson committed Dec 7, 2017
2 parents 1305ccc + 9ace5e3 commit 5473ebab32a3f289df43fc22fa782e464e9b350e
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/app/layout/qgslayoutdesignerdialog.cpp
@@ -58,6 +58,9 @@
#include <QTreeView>
#include <QFileDialog>
#include <QMessageBox>
#ifdef Q_OS_MACX
#include <ApplicationServices/ApplicationServices.h>
#endif

#ifdef ENABLE_MODELTEST
#include "modeltest.h"
@@ -1260,7 +1263,7 @@ void QgsLayoutDesignerDialog::saveAsTemplate()
QgsSettings settings;
QString lastSaveDir = settings.value( QStringLiteral( "UI/lastComposerTemplateDir" ), QDir::homePath() ).toString();
#ifdef Q_OS_MAC
mQgis->activateWindow();
QgisApp::instance()->activateWindow();
this->raise();
#endif
QString saveFileName = QFileDialog::getSaveFileName(

0 comments on commit 5473eba

Please sign in to comment.
You can’t perform that action at this time.