Commit 7a9b2874 authored by Laurent Montel's avatar Laurent Montel 😁

Use nullptr. Use const'ref

parent 67ab368c
......@@ -29,7 +29,7 @@ class SelectImageButton : public QToolButton
Q_OBJECT
Q_PROPERTY(QString imagePath READ imagePath WRITE setImagePath NOTIFY imagePathChanged USER true)
public:
SelectImageButton(QWidget* parent = 0);
explicit SelectImageButton(QWidget* parent = nullptr);
virtual ~SelectImageButton();
//we use QString rather that KUrl because it seems to work better with KConfigXT
......@@ -37,7 +37,7 @@ public:
QString imagePath() const;
Q_SIGNALS:
void imagePathChanged(QString);
void imagePathChanged(const QString&);
private Q_SLOTS:
void onLoadImageFromFile();
......
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