aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/pathchooser.h
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2017-08-16 22:10:50 +0200
committerAndré Hartmann <aha_1980@gmx.de>2017-08-22 12:37:13 +0000
commit63a75e3f4a7422f3e6117351a41895cdb9520e51 (patch)
tree77431a387aba53fe21a9bc5f549e0929c30f9a5d /src/libs/utils/pathchooser.h
parent0a548fe2bc2857875b29cb9bb6ebf3fc84b0db39 (diff)
PathChooser: Modernize
* Range-for * Remove QLatin1{Char|String} * Member-init Change-Id: I8c928a21cd1187e83264c88e1c62d81d82ed088f Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/libs/utils/pathchooser.h')
-rw-r--r--src/libs/utils/pathchooser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/utils/pathchooser.h b/src/libs/utils/pathchooser.h
index 17b572310df..94f4a19b49f 100644
--- a/src/libs/utils/pathchooser.h
+++ b/src/libs/utils/pathchooser.h
@@ -62,7 +62,7 @@ class QTCREATOR_UTILS_EXPORT PathChooser : public QWidget
public:
static QString browseButtonLabel();
- explicit PathChooser(QWidget *parent = 0);
+ explicit PathChooser(QWidget *parent = nullptr);
virtual ~PathChooser();
enum Kind {
@@ -172,7 +172,7 @@ public slots:
void setOkColor(const QColor &okColor);
private:
- PathChooserPrivate *d;
+ PathChooserPrivate *d = nullptr;
static AboutToShowContextMenuHandler s_aboutToShowContextMenuHandler;
};