diff src/hgrunner.h @ 605:ab92f695f776

Expand environmental parameters and executable name in action when it is received rather than when it's executed. This ensures we can correctly compare actions and fixes #141 "Unexpected error if you double-click on a toolbar button"
author Chris Cannam
date Tue, 03 Jul 2012 11:22:10 +0100
parents 012ba1b83328
children ae67ea0af696
line wrap: on
line diff
--- a/src/hgrunner.h	Tue Jul 03 10:43:05 2012 +0100
+++ b/src/hgrunner.h	Tue Jul 03 11:22:10 2012 +0100
@@ -90,6 +90,7 @@
     QProgressBar *m_progress;
     QPushButton *m_cancel;
 
+    HgAction expandEnvironment(HgAction);
     QStringList addExtensionOptions(QStringList);
 
     int m_ptyMasterFd;