ccherrett / oom

The Open Octave Project exists to provide professional level orchestral midi orchestration tools.
http://www.openoctave.org
GNU General Public License v2.0
82 stars 19 forks source link

Compile error without LV2. Fix suggested. #51

Closed Kaffeine closed 12 years ago

Kaffeine commented 12 years ago

/var/tmp/portage/media-sound/openoctave-midi-2011.3/work/oom-2011.3/oom/mixer/rack.cpp: In member function ‘void EffectRack::menuRequested(QListWidgetItem)’: /var/tmp/portage/media-sound/openoctave-midi-2011.3/work/oom-2011.3/oom/mixer/rack.cpp:262: error: ‘class QAction’ has no member named ‘hide’ distcc[28259] ERROR: compile (null) on localhost failed make[2]: ** [oom/mixer/CMakeFiles/mixer.dir/rack.o] Error 1 make[2]: *\ Waiting for unfinished jobs....

oom/mixer/rack.cpp:257-263:

if defined(OSC_SUPPORT) || defined(LV2_SUPPORT)

showNativeGuiAction->setEnabled(true);

else

printf("Disabling show Native\n");
showNativeGuiAction->setEnabled(false);
showNativeGuiAction->hide();

endif


showNativeGuiAction is pointer to QAction, that have not method hide, may be instead here should be setVisible(false)?