Skip to content

Commit

Permalink
fix unknown mQgis variable on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry authored and m-kuhn committed Dec 18, 2017
1 parent 6d069e8 commit 3fc746f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/layout/qgslayoutdesignerdialog.cpp
Expand Up @@ -1484,7 +1484,7 @@ void QgsLayoutDesignerDialog::exportToRaster()
#endif

#ifdef Q_OS_MAC
mQgis->activateWindow();
QgisApp::instance()->activateWindow();
this->raise();
#endif
QPair<QString, QString> fileNExt = QgsGuiUtils::getSaveAsImageName( this, tr( "Save layout as" ), outputFileName );
Expand Down Expand Up @@ -1600,7 +1600,7 @@ void QgsLayoutDesignerDialog::exportToPdf()
#endif

#ifdef Q_OS_MAC
mQgis->activateWindow();
QgisApp::instance()->activateWindow();
this->raise();
#endif
outputFileName = QFileDialog::getSaveFileName(
Expand Down

0 comments on commit 3fc746f

Please sign in to comment.