summaryrefslogtreecommitdiff
path: root/src/plugins/mercurial/commiteditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/mercurial/commiteditor.h')
-rw-r--r--src/plugins/mercurial/commiteditor.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/mercurial/commiteditor.h b/src/plugins/mercurial/commiteditor.h
index 43852bb512..2d977f7bd7 100644
--- a/src/plugins/mercurial/commiteditor.h
+++ b/src/plugins/mercurial/commiteditor.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef COMMITEDITOR_H
-#define COMMITEDITOR_H
+#pragma once
#include <vcsbase/vcsbaseclient.h>
#include <vcsbase/vcsbasesubmiteditor.h>
@@ -54,10 +53,8 @@ public:
private:
MercurialCommitWidget *commitWidget();
- VcsBase::SubmitFileModel *fileModel;
+ VcsBase::SubmitFileModel *fileModel = nullptr;
};
} // namespace Internal
} // namespace Mercurial
-
-#endif // COMMITEDITOR_H