Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix undeclared identifier on mac in composer
  • Loading branch information
Gustry committed Mar 22, 2017
1 parent 060a57f commit 1196377
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
11 changes: 0 additions & 11 deletions src/app/composer/qgscomposer.cpp
Expand Up @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions src/app/composer/qgscomposer.h
Expand Up @@ -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();
Expand Down

0 comments on commit 1196377

Please sign in to comment.