diff options
author | Eike Ziller <eike.ziller@nokia.com> | 2012-02-14 12:10:29 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2012-02-14 12:58:11 +0100 |
commit | f916d38dce14ac69dcb0b2338b94d91155d77892 (patch) | |
tree | e575ad1dfe68c976552593d74b0d536b5cc801a0 /src/plugins/genericprojectmanager | |
parent | d7b0ceac8a3959a6b055961cf915c9b697c31d46 (diff) | |
download | qt-creator-f916d38dce14ac69dcb0b2338b94d91155d77892.tar.gz |
Make IFile::isReadOnly consistent.
It is supposed to refer to the property of the file on disk (if there is
any).
Task-number: QTCREATORBUG-4998
Change-Id: Iaed62c17d124b364aecec4d1f910046bade42d40
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/plugins/genericprojectmanager')
-rw-r--r-- | src/plugins/genericprojectmanager/genericproject.cpp | 5 | ||||
-rw-r--r-- | src/plugins/genericprojectmanager/genericproject.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/genericprojectmanager/genericproject.cpp b/src/plugins/genericprojectmanager/genericproject.cpp index 0572678409..2d0b53a5c4 100644 --- a/src/plugins/genericprojectmanager/genericproject.cpp +++ b/src/plugins/genericprojectmanager/genericproject.cpp @@ -639,11 +639,6 @@ bool GenericProjectFile::isModified() const return false; } -bool GenericProjectFile::isReadOnly() const -{ - return true; -} - bool GenericProjectFile::isSaveAsAllowed() const { return false; diff --git a/src/plugins/genericprojectmanager/genericproject.h b/src/plugins/genericprojectmanager/genericproject.h index 80df0d566a..6e845f02e8 100644 --- a/src/plugins/genericprojectmanager/genericproject.h +++ b/src/plugins/genericprojectmanager/genericproject.h @@ -172,7 +172,6 @@ public: virtual QString mimeType() const; virtual bool isModified() const; - virtual bool isReadOnly() const; virtual bool isSaveAsAllowed() const; virtual void rename(const QString &newName); |