forked from qt-creator/qt-creator
Fix krazy issues: Use explicit constructors
* Fix all warnings about non-explicit constructors except for those in 3rdparty code.
This commit is contained in:
@@ -49,7 +49,7 @@ class WatchWindow : public QTreeView
|
||||
public:
|
||||
enum Type { ReturnType, LocalsType, TooltipType, WatchersType };
|
||||
|
||||
WatchWindow(Type type, QWidget *parent = 0);
|
||||
explicit WatchWindow(Type type, QWidget *parent = 0);
|
||||
Type type() const { return m_type; }
|
||||
|
||||
public slots:
|
||||
|
||||
Reference in New Issue
Block a user