reverted to rev. 1766 - fixes broken label on LADSPA effects

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1792 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-10-21 20:59:50 +00:00
parent edfdab22ae
commit c10eeed4a9
2 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
2008-10-21 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* include/plugin.h:
reverted to rev. 1766 - fixes broken label on LADSPA effects
* include/knob.h:
* src/gui/widgets/knob.cpp:
track focusOutEvents in order to unhide cursor in certain situations

View File

@@ -152,7 +152,8 @@ public:
// returns display-name out of descriptor
virtual QString displayName( void ) const
{
return m_descriptor ? m_descriptor->displayName :
return model::displayName().isEmpty() ?
m_descriptor->displayName :
model::displayName();
}