Qt5: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations]
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user