changeset 621:e06cbdc7301c

Fix compiler warnings (and remove obsolete bit of code)
author Chris Cannam
date Thu, 10 Oct 2019 13:28:12 +0100
parents 85ba31c30ea4
children cccac82528b9 bd18e52aa382
files main/main.cpp
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/main/main.cpp	Thu Oct 10 13:18:06 2019 +0100
+++ b/main/main.cpp	Thu Oct 10 13:28:12 2019 +0100
@@ -177,6 +177,7 @@
 #else
 #ifdef Q_OS_MAC
         myVampPath = myDir + "/../Resources";
+        (void)sep; // unused
 #else
         if (binaryName != "") {
             myVampPath =
@@ -208,13 +209,6 @@
     }
 
     svSystemSpecificInitialisation();
-    
-#ifdef Q_OS_MAC
-    if (QSysInfo::MacintoshVersion > QSysInfo::MV_10_8) {
-        // Fix for OS/X 10.9 font problem
-        QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande");
-    }
-#endif
 
     TonyApplication application(argc, argv);