diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2011-04-15 16:02:44 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2011-04-15 16:06:38 +0200 |
commit | c07e2133990d23e1aa7df6a8bf6ff77ea50c2167 (patch) | |
tree | cf42bb98786dc8fa615510f8e36c418cde2f40cc /src/plugins/git/gitversioncontrol.h | |
parent | 9978ebeda85bad33f017d2ed0c045ae3b1838714 (diff) | |
download | qt-creator-c07e2133990d23e1aa7df6a8bf6ff77ea50c2167.tar.gz |
VCS: Do not claim to support any operation if unconfigured
Make sure none of the VCS systems claims it does support any
VCS operation while unconfigured. This stops the specific
VCS from showing up in wizards, etc. till they can actually
be used.
Diffstat (limited to 'src/plugins/git/gitversioncontrol.h')
-rw-r--r-- | src/plugins/git/gitversioncontrol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitversioncontrol.h b/src/plugins/git/gitversioncontrol.h index 71917ad36d..b4c62e535a 100644 --- a/src/plugins/git/gitversioncontrol.h +++ b/src/plugins/git/gitversioncontrol.h @@ -51,6 +51,7 @@ public: bool managesDirectory(const QString &directory, QString *topLevel) const; + bool isConfigured() const; bool supportsOperation(Operation operation) const; bool vcsOpen(const QString &fileName); bool vcsAdd(const QString &fileName); @@ -70,7 +71,6 @@ public: void emitRepositoryChanged(const QString &); private: - bool m_enabled; GitClient *m_client; }; |