changeset 504:74fa499d5f3c 3.0-integration

Remove duplicate code
author Chris Cannam
date Wed, 14 Oct 2015 13:33:42 +0100
parents 0fe07a89fbbb
children ce6917c761a3
files framework/MainWindowBase.cpp
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Wed Oct 14 13:33:23 2015 +0100
+++ b/framework/MainWindowBase.cpp	Wed Oct 14 13:33:42 2015 +0100
@@ -2701,15 +2701,6 @@
         }
     }
 
-    QAction *action = qobject_cast<QAction *>(sender());
-    
-    if (m_audioRecordMode == RecordReplaceSession) {
-        if (!checkSaveModified()) {
-            if (action) action->setChecked(false);
-            return;
-        }
-    }
-
     m_audioIO->resume();
     WritableWaveFileModel *model = m_recordTarget->startRecording();
     if (!model) {