OSDN Git Service

Handle read only files correctly when saving all modified files
authorcon <qtc-committer@nokia.com>
Wed, 1 Dec 2010 12:10:08 +0000 (13:10 +0100)
committercon <qtc-committer@nokia.com>
Wed, 1 Dec 2010 12:10:46 +0000 (13:10 +0100)
commit0662a8009a8b59637417b9065324e23935190207
treedbb585448a8a267b64881061dc4bff50bdfefd52
parentbe3bb250687e90af63a0904cc879e02a86aa66ae
Handle read only files correctly when saving all modified files

We use the editor manager's way to save modified files now, so the
normal logic for read only files is applied, including the "cancel/save
as/open vcs/make writable" dialog.
Also fixes that it wasn't handled as a "cancel" if the user chooses to
cancel this dialog.

Task-number: QTCREATORBUG-3109
src/plugins/coreplugin/filemanager.cpp