diff options
author | Maxim Pimenov <m@maps.me> | 2019-04-15 17:47:05 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2019-04-15 21:01:06 +0300 |
commit | 1d0428d056aa2e6b0024f991991f5c513cff9f73 (patch) | |
tree | cff44256529314ec8fcc9ea22fab87520a76e33a /qt | |
parent | 25087ac0bf7e8c41e0d0684e43b5285a8b8be47c (diff) |
Several explicit constructors per the Cppcheck report.
Diffstat (limited to 'qt')
-rw-r--r-- | qt/qt_common/scale_slider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/qt_common/scale_slider.cpp b/qt/qt_common/scale_slider.cpp index b0199f72ac..736dd7d2a2 100644 --- a/qt/qt_common/scale_slider.cpp +++ b/qt/qt_common/scale_slider.cpp @@ -20,7 +20,7 @@ namespace class MyProxyStyle : public ProxyStyle { public: - MyProxyStyle(QStyle * parent) : ProxyStyle(parent) {} + explicit MyProxyStyle(QStyle * parent) : ProxyStyle(parent) {} int styleHint(StyleHint hint, const QStyleOption * option, const QWidget * widget, QStyleHintReturn * returnData) const override |