Commit 1e69d4e3 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Refactor QWindowsXPStylePrivate::drawBackground() and helpers.


Pass the DC obtained drawBackground() to drawBackgroundDirectly(),
saving a call to hdcForWidgetBackingStore() to find it.
Pass the error code from the Win32 API DrawThemeBackground()
to the calling functions.

Change-Id: I1c25241f53d87e4429ad924f7b2e29da215d7e4f
Reviewed-by: default avatarOliver Wolff <oliver.wolff@theqtcompany.com>
Showing with 7 additions and 9 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment