Qt5: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations]

This commit is contained in:
wmayer
2020-06-08 12:24:55 +02:00
committed by wwmayer
parent ac7da8b39f
commit 7b72dcb062
20 changed files with 40 additions and 40 deletions

View File

@@ -168,7 +168,7 @@ class ColorPickerItem : public QFrame
Q_OBJECT
public:
ColorPickerItem(const QColor &color = Qt::white, const QString &text = QString::null,
ColorPickerItem(const QColor &color = Qt::white, const QString &text = QString(),
QWidget *parent = 0);
~ColorPickerItem();

View File

@@ -84,7 +84,7 @@ public:
~QtColorPicker();
void insertColor(const QColor &color, const QString &text = QString::null, int index = -1);
void insertColor(const QColor &color, const QString &text = QString(), int index = -1);
QColor currentColor() const;