diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-07-11 01:33:30 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-12-07 13:41:20 +0000 |
commit | 6f87f2d23fb50d8183ea173fe423b7e1a24c0e2e (patch) | |
tree | c6c39a439743bced0923a86f9cb44622153341f9 /src/widgets/widgets/qlineedit_p.h | |
parent | bc6d677b7e9c7809af68d8bcbd3a5793903c4c98 (diff) |
QtWidgets: mark some constructors explicit
Non-public API.
Change-Id: I68628c51df815f26e8de7522629a611f805673bb
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/widgets/qlineedit_p.h')
-rw-r--r-- | src/widgets/widgets/qlineedit_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/widgets/qlineedit_p.h b/src/widgets/widgets/qlineedit_p.h index 60372ab393..8d15aa70e8 100644 --- a/src/widgets/widgets/qlineedit_p.h +++ b/src/widgets/widgets/qlineedit_p.h @@ -108,7 +108,7 @@ public: }; struct SideWidgetEntry { - SideWidgetEntry(QWidget *w = 0, QAction *a = 0, int _flags = 0) : widget(w), action(a), flags(_flags) {} + explicit SideWidgetEntry(QWidget *w = 0, QAction *a = 0, int _flags = 0) : widget(w), action(a), flags(_flags) {} QWidget *widget; QAction *action; |