Commit ed4aa297 authored by Jan Möbius's avatar Jan Möbius

More cppcheck warnings

parent 17c5fc32
......@@ -54,9 +54,9 @@ class Menu : public QMenu
{
bool pressed_;
public:
Menu(QWidget* _parent = 0);
explicit Menu(QWidget* _parent = 0);
protected:
void mousePressEvent(QMouseEvent* _event);
void mouseReleaseEvent(QMouseEvent* _event);
};
\ No newline at end of file
};
......@@ -64,7 +64,7 @@ class DatacontrolToolboxWidget : public QWidget, public Ui::dctoolbox
void keyEvent( QKeyEvent* _event );
public:
DatacontrolToolboxWidget(QWidget* _parent = 0);
explicit DatacontrolToolboxWidget(QWidget* _parent = 0);
protected:
......
......@@ -69,7 +69,7 @@ signals:
public:
/// Constructor
TreeModel(QObject *_parent = 0);
explicit TreeModel(QObject *_parent = 0);
/// Destructor
~TreeModel();
......
......@@ -63,7 +63,7 @@ class DataControlTreeView : public QTreeView
void keyEvent( QKeyEvent* _event );
public:
DataControlTreeView(QWidget* _parent = 0);
explicit DataControlTreeView(QWidget* _parent = 0);
protected:
virtual void keyPressEvent ( QKeyEvent * event );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment