Default values for bool parameters make the code harder to read

In this case we always passed the parameter anyway.
This commit is contained in:
Tor Lillqvist 2016-04-15 13:17:16 +03:00
parent cca858732a
commit ecaaab6e90

View file

@ -47,7 +47,7 @@ public:
void documentSaved(); void documentSaved();
/// Notify whether we need to use the Editing cache. /// Notify whether we need to use the Editing cache.
void setEditing(bool editing = true); void setEditing(bool editing);
// The parameter is a message // The parameter is a message
void saveTextFile(const std::string& text, std::string fileName); void saveTextFile(const std::string& text, std::string fileName);