comparison mainwindow.h @ 172:b6dd1ee0e486

* Fix failure to recognise local uncommitted changes when an untracked file was selected * Win32: Look in installed location (currently just the location of the present .exe) for executables as well as in path * Win32: Search for easyhg extension in same way as executables * Win32: Set installed location to path when running hg commands (for dependent DLLs)
author Chris Cannam
date Wed, 15 Dec 2010 22:07:31 +0000
parents c7fa56707ae9
children a6d336837ebe
comparison
equal deleted inserted replaced
171:aab308a3b304 172:b6dd1ee0e486
36 class MainWindow : public QMainWindow 36 class MainWindow : public QMainWindow
37 { 37 {
38 Q_OBJECT 38 Q_OBJECT
39 39
40 public: 40 public:
41 MainWindow(); 41 MainWindow(QString myDirPath);
42 HgTabWidget *hgTabs; 42 HgTabWidget *hgTabs;
43 void writeSettings(); 43 void writeSettings();
44 44
45 //Paths to remote repo & workfolder 45 //Paths to remote repo & workfolder
46 //Local repo is directory "./hg/" under work folder 46 //Local repo is directory "./hg/" under work folder
151 151
152 //Actions enabled flags 152 //Actions enabled flags
153 bool remoteRepoActionsEnabled; 153 bool remoteRepoActionsEnabled;
154 bool localRepoActionsEnabled; 154 bool localRepoActionsEnabled;
155 155
156 QString m_myDirPath;
157
156 //File menu actions 158 //File menu actions
157 QAction *openAct; 159 QAction *openAct;
158 QAction *settingsAct; 160 QAction *settingsAct;
159 QAction *exitAct; 161 QAction *exitAct;
160 162