Skip to content

Commit

Permalink
Fixed warnings in QtPropertyBrowser component
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed May 31, 2021
1 parent 473723b commit 24ae205
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion 3rdparty/QtPropertyBrowser/src/qteditorfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 0 additions & 1 deletion 3rdparty/QtPropertyBrowser/src/qtvariantproperty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ static QtProperty *wrappedProperty(QtProperty *property)

class QtVariantPropertyPrivate
{
QtVariantProperty *q_ptr;
public:
QtVariantPropertyPrivate(QtVariantPropertyManager *m) : manager(m) {}

Expand Down

0 comments on commit 24ae205

Please sign in to comment.