diff main/MainWindow.cpp @ 528:e5e6625deb85 qt5

Update for Qt5 compatibility; use subrepo for dataquay
author Chris Cannam
date Mon, 11 Mar 2013 15:21:35 +0000
parents a740e96d7fec
children 0b094b0fdcc4
line wrap: on
line diff
--- a/main/MainWindow.cpp	Sat Mar 09 11:48:09 2013 +0000
+++ b/main/MainWindow.cpp	Mon Mar 11 15:21:35 2013 +0000
@@ -82,7 +82,6 @@
 #include "rdf/PluginRDFIndexer.h"
 #include "rdf/RDFExporter.h"
 
-#include "Surveyer.h"
 #include "framework/VersionTester.h"
 
 // For version information
@@ -307,7 +306,6 @@
     
     TransformFactory::getInstance()->startPopulationThread();
 
-    Surveyer *surveyer = new Surveyer(this);
     VersionTester *vt = new VersionTester
         ("sonicvisualiser.org", "/latest-version.txt", SV_VERSION);
     connect(vt, SIGNAL(newerVersionAvailable(QString)),
@@ -1696,7 +1694,7 @@
             action->setShortcut(tr("Ctrl+R"));
             m_keyReference->registerShortcut
                 (tr("Re-open"),
-                 action->shortcut(),
+                 action->shortcut().toString(),
                  tr("Re-open the current or most recently opened file"));
         }
 	m_recentFilesMenu->addAction(action);
@@ -1772,7 +1770,7 @@
             ti->second->setShortcut(tr("Ctrl+T"));
             m_keyReference->registerShortcut
                 (tr("Repeat Transform"),
-                 ti->second->shortcut(),
+                 ti->second->shortcut().toString(),
                  tr("Re-select the most recently run transform"));
         } else {
             ti->second->setShortcut(QString(""));