Commit d527b11d authored by Tobias Hunger's avatar Tobias Hunger
Browse files

DiffEditor: Save a little space by reordering members in Controller



Change-Id: I3051979a2ada5650021370667e8979eb25d0467f
Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@theqtcompany.com>
parent d8d93b72
......@@ -44,13 +44,13 @@ namespace DiffEditor {
DiffEditorController::DiffEditorController(QObject *parent)
: QObject(parent),
m_reloader(0),
m_contextLinesNumber(3),
m_diffFileIndex(-1),
m_chunkIndex(-1),
m_descriptionEnabled(false),
m_contextLinesNumber(3),
m_contextLinesNumberEnabled(true),
m_ignoreWhitespace(true),
m_reloader(0)
m_ignoreWhitespace(true)
{
QSettings *s = Core::ICore::settings();
s->beginGroup(QLatin1String(settingsGroupC));
......
......@@ -102,15 +102,15 @@ private:
QString m_clearMessage;
QList<FileData> m_diffFiles;
int m_diffFileIndex;
int m_chunkIndex;
QString m_workingDirectory;
QString m_description;
bool m_descriptionEnabled;
DiffEditorReloader *m_reloader;
int m_contextLinesNumber;
int m_diffFileIndex;
int m_chunkIndex;
bool m_descriptionEnabled;
bool m_contextLinesNumberEnabled;
bool m_ignoreWhitespace;
DiffEditorReloader *m_reloader;
};
} // namespace DiffEditor
......
Markdown is supported
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