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 SRCDESTDIALOG_H
|
||||
#define SRCDESTDIALOG_H
|
||||
#pragma once
|
||||
|
||||
#include <utils/pathchooser.h>
|
||||
#include <QDialog>
|
||||
@@ -41,7 +40,7 @@ class SrcDestDialog : public QDialog
|
||||
public:
|
||||
enum Direction { outgoing, incoming };
|
||||
explicit SrcDestDialog(Direction dir, QWidget *parent = 0);
|
||||
~SrcDestDialog();
|
||||
~SrcDestDialog() override;
|
||||
|
||||
void setPathChooserKind(Utils::PathChooser::Kind kind);
|
||||
QString getRepositoryString() const;
|
||||
@@ -58,5 +57,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Mercurial
|
||||
|
||||
#endif // SRCDESTDIALOG_H
|
||||
|
||||
Reference in New Issue
Block a user