Commit cacae3fe authored by Robert Loehning's avatar Robert Loehning Committed by Friedemann Kleint
Browse files

Removed dead assignment

Change-Id: I4fd52e155a2252b4e66b419eb7d14b24a439ab96
Reviewed-by: default avatarLeandro T. C. Melo <>
Reviewed-by: default avatarFriedemann Kleint <>
parent 3ad539f8
......@@ -484,7 +484,8 @@ bool BaseTextDocument::open(QString *errorString, const QString &fileName, const
emit titleChanged(title);
emit changed();
return true;
return readResult == Utils::TextFileFormat::ReadSuccess
|| readResult == Utils::TextFileFormat::ReadEncodingError;
bool BaseTextDocument::reload(QString *errorString, QTextCodec *codec)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment