Fixed currentWorkspace

Refactored  projectName

FossilOrigin-Name: 1d1ec089cdb02738d99efcc66c1b32bb0e3208e0
This commit is contained in:
kostas
2015-04-26 11:33:07 +00:00
parent 17736bd719
commit e8c8f9e506
5 changed files with 31 additions and 20 deletions

View File

@ -258,18 +258,19 @@ private:
bool abortOperation;
Settings &settings;
QString projectName;
QString repositoryFile;
QStringList workspaceHistory;
#ifndef BRIDGE_ENABLED
QString projectName;
QString currentWorkspace;
const QString & getProjectName() const { return projectName; }
#else
Bridge bridge;
const QString & getProjectName() const { return bridge.getProjectName(); }
#endif
ViewMode viewMode;
stringset_t selectedDirs; // The directory selected in the tree
#ifdef BRIDGE_ENABLED
Bridge bridge;
#endif
// Repository State
typedef QList<RepoFile*> filelist_t;