Skip to content

Commit

Permalink
Fix Zyn GUI on Apple
Browse files Browse the repository at this point in the history
Closes LMMS#703
  • Loading branch information
tresf committed Feb 27, 2016
1 parent 67334a8 commit 250f91f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions include/RemotePlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,6 @@ class shmFifo

~shmFifo()
{
#ifndef USE_QT_SHMEM
shmdt( m_data );
#endif
// master?
if( m_master )
{
Expand All @@ -235,6 +232,9 @@ class shmFifo
sem_destroy( m_messageSem );
#endif
}
#ifndef USE_QT_SHMEM
shmdt( m_data );
#endif
}

inline bool isInvalid() const
Expand Down
3 changes: 0 additions & 3 deletions plugins/zynaddsubfx/ZynAddSubFx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -533,9 +533,6 @@ ZynAddSubFxView::ZynAddSubFxView( Instrument * _instrument, QWidget * _parent )

m_toggleUIButton = new QPushButton( tr( "Show GUI" ), this );
m_toggleUIButton->setCheckable( true );
#ifdef LMMS_BUILD_APPLE
m_toggleUIButton->setEnabled( false );
#endif
m_toggleUIButton->setChecked( false );
m_toggleUIButton->setIcon( embed::getIconPixmap( "zoom" ) );
m_toggleUIButton->setFont( pointSize<8>( m_toggleUIButton->font() ) );
Expand Down

0 comments on commit 250f91f

Please sign in to comment.