Commit d508fb00 authored by Christoph Cullmann's avatar Christoph Cullmann

backport crash fix for saving .gz and co files

BUG: 346404
BUG: 352152
parent b8160f7d
......@@ -748,7 +748,7 @@ bool TextBuffer::save (const QString &filename)
* try to open, if new file
if (deleteFile) {
if (!file->open (QIODevice::WriteOnly | QIODevice::Truncate)) {
if (!file->open (QIODevice::WriteOnly)) {
delete file;
return false;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment