diff src/mainwindow.cpp @ 611:864cf6bc6eff

Fix incorrect signal in recent files action; if hg not found in last location, check for it in path (e.g. if it was previously in an installation-specific location that has since been overridden by a new installation)
author Chris Cannam
date Tue, 03 Jul 2012 15:26:30 +0100
parents c1451b356097
children 2d5b831c1a0a 4f7ca2d192df
line wrap: on
line diff
--- a/src/mainwindow.cpp	Tue Jul 03 13:25:54 2012 +0100
+++ b/src/mainwindow.cpp	Tue Jul 03 15:26:30 2012 +0100
@@ -2894,7 +2894,7 @@
     }
     foreach (QString r, recent) {
         QAction *a = m_recentMenu->addAction(r);
-        connect(a, SIGNAL(activated()), this, SLOT(recentMenuActivated()));
+        connect(a, SIGNAL(triggered()), this, SLOT(recentMenuActivated()));
     }
 }