comparison 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
comparison
equal deleted inserted replaced
610:90da5af6a952 611:864cf6bc6eff
2892 wa->setDefaultWidget(label); 2892 wa->setDefaultWidget(label);
2893 return; 2893 return;
2894 } 2894 }
2895 foreach (QString r, recent) { 2895 foreach (QString r, recent) {
2896 QAction *a = m_recentMenu->addAction(r); 2896 QAction *a = m_recentMenu->addAction(r);
2897 connect(a, SIGNAL(activated()), this, SLOT(recentMenuActivated())); 2897 connect(a, SIGNAL(triggered()), this, SLOT(recentMenuActivated()));
2898 } 2898 }
2899 } 2899 }
2900 2900
2901 void MainWindow::createActions() 2901 void MainWindow::createActions()
2902 { 2902 {