AutomatableModelView: removed deprecated setValue() helper

The setValue() helper method dates back to when we introduced model/view
separation. It's not required anymore.
This commit is contained in:
Tobias Doerffel
2014-01-06 20:38:24 +01:00
parent f17285581d
commit 5c7b32cf51

View File

@@ -1,7 +1,7 @@
/*
* AutomatableModelView.h - class AutomatableModelView
*
* Copyright (c) 2008-2013 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2008-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
@@ -56,15 +56,6 @@ public:
return( modelUntyped() ? modelUntyped()->value<T>() : 0 );
}
inline void setValue( const float _value )
{
if( modelUntyped() )
{
modelUntyped()->setValue( _value );
}
}
inline void setDescription( const QString & _desc )
{
m_description = _desc;