Make syntax for fix more consistent with existing code.

This commit is contained in:
Matthew Krafczyk committed 2014-09-09 01:39:08 +02:00
1 parent 00086c9f20
commit c628387cd2
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -77,7 +77,8 @@ public:
return oldJournalling;
}
inline bool isEmpty() {
inline bool isEmpty() const
{
return m_journallingStateStack.isEmpty();
}
+2 -1
View File
@@ -592,7 +592,8 @@ void knob::mouseReleaseEvent( QMouseEvent* event )
AutomatableModel *thisModel = model();
if( thisModel )
{
if(!thisModel->isEmpty()) {
if( !thisModel->isEmpty() )
{
thisModel->restoreJournallingState();
}
}