DiffEditor: fix various warnings

Change-Id: I555aa30c8925ba8eeb314dd836f1544b93d7a66f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Jarek Kobus
2018-05-03 14:48:28 +02:00
parent 45c42dcec8
commit 7d60710608
9 changed files with 23 additions and 23 deletions

View File

@@ -71,8 +71,8 @@ class DiffFile
{
public:
DiffFile(bool ignoreWhitespace, int contextLineCount)
: m_ignoreWhitespace(ignoreWhitespace),
m_contextLineCount(contextLineCount)
: m_contextLineCount(contextLineCount),
m_ignoreWhitespace(ignoreWhitespace)
{}
void operator()(QFutureInterface<FileData> &futureInterface,
@@ -110,8 +110,8 @@ public:
}
private:
const bool m_ignoreWhitespace;
const int m_contextLineCount;
const bool m_ignoreWhitespace;
};
class DiffFilesController : public DiffEditorController