forked from qt-creator/qt-creator
Add some missing consts
Change-Id: I1c5122b893e7255237310562fcad16bc53f15fd7 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -109,7 +109,7 @@ protected:
|
||||
void reload() override;
|
||||
|
||||
private:
|
||||
QString m_fileName;
|
||||
const QString m_fileName;
|
||||
};
|
||||
|
||||
DiffCurrentFileController::DiffCurrentFileController(IDocument *document, const QString &fileName) :
|
||||
@@ -227,7 +227,7 @@ protected:
|
||||
void reload() override;
|
||||
|
||||
private:
|
||||
QStringList m_fileNames;
|
||||
const QStringList m_fileNames;
|
||||
};
|
||||
|
||||
DiffModifiedFilesController::DiffModifiedFilesController(IDocument *document, const QStringList &fileNames) :
|
||||
@@ -289,8 +289,8 @@ protected:
|
||||
void reload() override;
|
||||
|
||||
private:
|
||||
QString m_leftFileName;
|
||||
QString m_rightFileName;
|
||||
const QString m_leftFileName;
|
||||
const QString m_rightFileName;
|
||||
};
|
||||
|
||||
DiffExternalFilesController::DiffExternalFilesController(IDocument *document, const QString &leftFileName,
|
||||
|
||||
Reference in New Issue
Block a user