changeset 2296:a54082a29106

Minor tidy
author Chris Cannam
date Fri, 21 Jun 2019 13:30:17 +0100
parents 3facfe72c1bd
children a1c14880404b
files main/MainWindow.cpp main/MainWindow.h main/main.cpp
diffstat 3 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Thu Jun 20 11:43:16 2019 +0100
+++ b/main/MainWindow.cpp	Fri Jun 21 13:30:17 2019 +0100
@@ -3174,8 +3174,6 @@
 void
 MainWindow::browseRecordedAudio()
 {
-    if (!m_recordTarget) return;
-
     QString path = RecordDirectory::getRecordContainerDirectory();
     if (path == "") path = RecordDirectory::getRecordDirectory();
     if (path == "") return;
--- a/main/MainWindow.h	Thu Jun 20 11:43:16 2019 +0100
+++ b/main/MainWindow.h	Fri Jun 21 13:30:17 2019 +0100
@@ -13,8 +13,8 @@
     COPYING included with this distribution for more information.
 */
 
-#ifndef _MAIN_WINDOW_H_
-#define _MAIN_WINDOW_H_
+#ifndef SV_MAIN_WINDOW_H
+#define SV_MAIN_WINDOW_H
 
 #include "framework/MainWindowBase.h"
 
--- a/main/main.cpp	Thu Jun 20 11:43:16 2019 +0100
+++ b/main/main.cpp	Fri Jun 21 13:30:17 2019 +0100
@@ -238,7 +238,7 @@
         cerr << SV_VERSION << endl;
         exit(0);
     }
-
+    
     svSystemSpecificInitialisation();
 
 #ifdef Q_OS_MAC