summaryrefslogtreecommitdiff
path: root/src/plugins/cvs/cvscontrol.cpp
diff options
context:
space:
mode:
authorKnut Petter Svendsen <knutpett@pvv.org>2013-02-22 14:02:24 +0100
committerKnut Petter Svendsen <knutpett@pvv.org>2013-03-11 14:18:51 +0100
commit0d3b54f410103bbbba7b868607043c01f3011ece (patch)
tree792a71af918cfb8b0d0926edff08417c2fc052ee /src/plugins/cvs/cvscontrol.cpp
parent4c9d2e5308c4fae635717c33b0449c69a0fc5b0d (diff)
downloadqt-creator-0d3b54f410103bbbba7b868607043c01f3011ece.tar.gz
ClearCase: Don't show Hijack button for dynamic view
The Hijack button (makeWriteableButton) should only be shown for snapshot views. Change-Id: I809981885d18b6057d82f73b5104b0f1041cd255 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/cvs/cvscontrol.cpp')
-rw-r--r--src/plugins/cvs/cvscontrol.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/cvs/cvscontrol.cpp b/src/plugins/cvs/cvscontrol.cpp
index 5c4cea214f..e4ddcfd380 100644
--- a/src/plugins/cvs/cvscontrol.cpp
+++ b/src/plugins/cvs/cvscontrol.cpp
@@ -69,7 +69,6 @@ bool CvsControl::supportsOperation(Operation operation) const
case AddOperation:
case DeleteOperation:
case AnnotateOperation:
- case OpenOperation:
break;
case MoveOperation:
case CreateRepositoryOperation:
@@ -82,6 +81,11 @@ bool CvsControl::supportsOperation(Operation operation) const
return rc;
}
+Core::IVersionControl::OpenSupportMode CvsControl::openSupportMode() const
+{
+ return OpenOptional;
+}
+
bool CvsControl::vcsOpen(const QString &fileName)
{
const QFileInfo fi(fileName);