Skip to content
Permalink
Browse files
fix undeclared identifier on mac in composer
  • Loading branch information
Gustry committed Mar 22, 2017
1 parent 060a57f commit 119637768cd78d8ecbd4c0b7458bec15ec2e31f6
Showing with 0 additions and 15 deletions.
  1. +0 −11 src/app/composer/qgscomposer.cpp
  2. +0 −4 src/app/composer/qgscomposer.h
@@ -3336,17 +3336,6 @@ void QgsComposer::resizeEvent( QResizeEvent *e )
saveWindowState();
}

#ifdef Q_OS_MAC
void QgsComposer::showEvent( QShowEvent *event )
{
// add to menu if (re)opening window (event not due to unminimize)
if ( !event->spontaneous() )
{
mQgis->addWindow( mWindowAction );
}
}
#endif

void QgsComposer::saveWindowState()
{
QgsSettings settings;
@@ -142,10 +142,6 @@ class QgsComposer: public QMainWindow, private Ui::QgsComposerBase
//! Resize event
virtual void resizeEvent( QResizeEvent * ) override;

#ifdef Q_OS_MAC
virtual void showEvent( QShowEvent *event ) override;
#endif

signals:
//! Is emitted every time the view zoom has changed
void zoomLevelChanged();

0 comments on commit 1196377

Please sign in to comment.