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

More cppcheck warnings

parent 9a313dc7
......@@ -73,7 +73,7 @@ class OMPropertyModelSubclass: public SingleObjectPropertyModel
{
Q_OBJECT
public:
OMPropertyModelSubclass(QObject *parent = 0)
explicit OMPropertyModelSubclass(QObject *parent = 0)
: SingleObjectPropertyModel(parent)
{
}
......
......@@ -139,7 +139,7 @@ class PropertyNameListModel: public QAbstractListModel {
};
public:
PropertyNameListModel(QObject *parent = 0);
explicit PropertyNameListModel(QObject *parent = 0);
virtual ~PropertyNameListModel();
virtual int rowCount(const QModelIndex & parent = QModelIndex()) const;
......
......@@ -68,7 +68,7 @@
class VizException : public std::logic_error {
public:
VizException(const std::string &msg) : std::logic_error(msg) {}
explicit VizException(const std::string &msg) : std::logic_error(msg) {}
};
......@@ -94,7 +94,7 @@ public:
*
* @param _propertyInfo Information about the property this visualizer should visualize.
*/
PropertyVisualizer(PropertyInfo _propertyInfo)
explicit PropertyVisualizer(PropertyInfo _propertyInfo)
:
propertyInfo(_propertyInfo),
widget(0)
......
......@@ -178,7 +178,7 @@ class NewNameMessageBox: public QMessageBox
Q_OBJECT
public:
NewNameMessageBox(QString propName);
explicit NewNameMessageBox(QString propName);
private slots:
void slotReplace() { replace = true; }
......
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