forked from qt-creator/qt-creator
Utils: Modernize further
Many issues, mostly in headers, were not addressed in
e38410b76c
modernize-use-auto
modernize-use-nullptr
modernize-use-override
modernize-use-using
modernize-use-default-member-init
modernize-use-equals-default
Change-Id: I320a51726db881e582b898948d53735ebb06887a
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -206,7 +206,7 @@ protected:
|
||||
std::unique_ptr<QFile> m_file;
|
||||
QString m_fileName;
|
||||
QString m_errorString;
|
||||
bool m_hasError;
|
||||
bool m_hasError = false;
|
||||
|
||||
private:
|
||||
Q_DISABLE_COPY(FileSaverBase)
|
||||
@@ -236,7 +236,7 @@ public:
|
||||
void setAutoRemove(bool on) { m_autoRemove = on; }
|
||||
|
||||
private:
|
||||
bool m_autoRemove;
|
||||
bool m_autoRemove = true;
|
||||
};
|
||||
|
||||
} // namespace Utils
|
||||
|
||||
Reference in New Issue
Block a user