mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Merge pull request #4292 from Gustry/fix_mac_build
fix undeclared identifier on MAC in composer
This commit is contained in:
commit
265da3ffa0
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user