mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-18 19:55:00 -04:00
Make syntax for fix more consistent with existing code.
This commit is contained in:
@@ -77,7 +77,8 @@ public:
|
||||
return oldJournalling;
|
||||
}
|
||||
|
||||
inline bool isEmpty() {
|
||||
inline bool isEmpty() const
|
||||
{
|
||||
return m_journallingStateStack.isEmpty();
|
||||
}
|
||||
|
||||
|
||||
@@ -592,7 +592,8 @@ void knob::mouseReleaseEvent( QMouseEvent* event )
|
||||
AutomatableModel *thisModel = model();
|
||||
if( thisModel )
|
||||
{
|
||||
if(!thisModel->isEmpty()) {
|
||||
if( !thisModel->isEmpty() )
|
||||
{
|
||||
thisModel->restoreJournallingState();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user