Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
01cc5b48
Commit
01cc5b48
authored
May 15, 2009
by
con
Browse files
Remove unnecessary code.
parent
9b8d1481
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/texteditor/basetextdocument.cpp
View file @
01cc5b48
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment