Fixed warnings in QtPropertyBrowser component
This commit is contained in:
parent
473723b24a
commit
24ae205f20
@ -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) {
|
||||
|
@ -145,7 +145,6 @@ static QtProperty *wrappedProperty(QtProperty *property)
|
||||
|
||||
class QtVariantPropertyPrivate
|
||||
{
|
||||
QtVariantProperty *q_ptr;
|
||||
public:
|
||||
QtVariantPropertyPrivate(QtVariantPropertyManager *m) : manager(m) {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user