Fixed warnings in QtPropertyBrowser component

This commit is contained in:
Miodrag Milanovic 2021-05-31 16:48:25 +02:00
parent 473723b24a
commit 24ae205f20
2 changed files with 0 additions and 2 deletions

View File

@ -2205,7 +2205,6 @@ void QtColorEditWidget::setValue(const QColor &c)
void QtColorEditWidget::buttonClicked()
{
bool ok = false;
QRgb oldRgba = m_color.rgba();
QColor newRgba = QColorDialog::getColor(oldRgba, this).rgba();
if (newRgba.isValid() && newRgba.rgba() != oldRgba) {

View File

@ -145,7 +145,6 @@ static QtProperty *wrappedProperty(QtProperty *property)
class QtVariantPropertyPrivate
{
QtVariantProperty *q_ptr;
public:
QtVariantPropertyPrivate(QtVariantPropertyManager *m) : manager(m) {}