Commit 01cc5b48 authored by con's avatar con
Browse files

Remove unnecessary code.

parent 9b8d1481
......@@ -135,11 +135,7 @@ bool BaseTextDocument::isReadOnly() const
return true;
if (m_fileName.isEmpty()) //have no corresponding file, so editing is ok
return false;
const QFileInfo fi(m_fileName);
return m_fileIsReadOnly;
bool BaseTextDocument::isModified() const
Supports Markdown
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