mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-31 00:03:42 -04:00
add missing include for macos
This commit is contained in:
parent
1305cccbd9
commit
9ace5e3ae4
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user