Skip to content

Conversation

@john-paulsmith
Copy link

I'm starting to use QtPropertyBrowser on a new project and ran into a couple of problems. We compile with CONFIG = no_keywords, so I replaced emit, foreach and slots with their Q_ macro equivalents, which also work if no_keywords hasn't been defined. I also replaced use of the obsolete method QColorDialog::getRgba() with QColorDialog::getColor(). It's been available since Qt 4.5 so should be OK to use and it's cleaner in this use case.

Replaced emit, slots and foreach with Q_EMIT, Q_SLOTS and Q_FOREACH.
Replaced with QColorDialog::getColor() which is simpler anyway.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant