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

Use nullptr. Use const'ref

parent 67ab368c
......@@ -29,7 +29,7 @@ class SelectImageButton : public QToolButton
Q_PROPERTY(QString imagePath READ imagePath WRITE setImagePath NOTIFY imagePathChanged USER true)
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;
void imagePathChanged(QString);
void imagePathChanged(const QString&);
private Q_SLOTS:
void onLoadImageFromFile();
Supports Markdown
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