summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/iversioncontrol.cpp
diff options
context:
space:
mode:
authorKnut Petter Svendsen <knutpett@pvv.org>2013-11-07 12:31:22 +0100
committerKnut Petter Svendsen <knutpett@pvv.org>2013-11-13 15:31:31 +0100
commit16b4c2e0327ce102fac26ac3da47884618a3cf0b (patch)
tree6949bfad04aca29fb10d499e3097bbbac1e0cbd8 /src/plugins/coreplugin/iversioncontrol.cpp
parent4c0d07a9aace583cd6d97114d7de1d279339bf0e (diff)
downloadqt-creator-16b4c2e0327ce102fac26ac3da47884618a3cf0b.tar.gz
ClearCase: Handle read-only view private files
View private files have state NotManaged. In the corner case where a NotManaged file is read-only they should be made writeable by the ReadOnlyFilesDialog, and not vcsOpen()-ed. Change-Id: Icfeab6bebb76cc01da693b3bfff7b46c45b106b4 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/coreplugin/iversioncontrol.cpp')
-rw-r--r--src/plugins/coreplugin/iversioncontrol.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/iversioncontrol.cpp b/src/plugins/coreplugin/iversioncontrol.cpp
index 814bee6859..f903152a97 100644
--- a/src/plugins/coreplugin/iversioncontrol.cpp
+++ b/src/plugins/coreplugin/iversioncontrol.cpp
@@ -46,8 +46,9 @@ QString IVersionControl::vcsTopic(const QString &)
return QString();
}
-IVersionControl::OpenSupportMode IVersionControl::openSupportMode() const
+IVersionControl::OpenSupportMode IVersionControl::openSupportMode(const QString &fileName) const
{
+ Q_UNUSED(fileName);
return NoOpen;
}