forked from qt-creator/qt-creator
Mercurial: Modernize
* Use pragma once * Use override * Use member initialization Change-Id: Ibd4f3c65929932db0e44be70fd5915b921438564 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef MERCURIALCOMMITWIDGET_H
|
||||
#define MERCURIALCOMMITWIDGET_H
|
||||
#pragma once
|
||||
|
||||
#include "ui_mercurialcommitpanel.h"
|
||||
|
||||
@@ -49,7 +48,7 @@ public:
|
||||
QString repoRoot();
|
||||
|
||||
protected:
|
||||
QString cleanupDescription(const QString &input) const;
|
||||
QString cleanupDescription(const QString &input) const override;
|
||||
|
||||
private:
|
||||
QWidget *mercurialCommitPanel;
|
||||
@@ -58,5 +57,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Mercurial
|
||||
|
||||
#endif // MERCURIALCOMMITWIDGET_H
|
||||
|
||||
Reference in New Issue
Block a user