diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-01-22 14:41:20 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-01-22 14:41:20 +0100 |
commit | 1ab1d2c72315c03bf10c5c78bb6b3b674926039f (patch) | |
tree | 74b1a517e9c68a228ab47598dded1e8360146186 /pose-widget | |
parent | 025a83e9d794857cc7b39040411051d635b5316e (diff) |
pose-widget: add distinct background color
Diffstat (limited to 'pose-widget')
-rw-r--r-- | pose-widget/glwidget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pose-widget/glwidget.cpp b/pose-widget/glwidget.cpp index 1b30e585..b5d4c0b7 100644 --- a/pose-widget/glwidget.cpp +++ b/pose-widget/glwidget.cpp @@ -125,8 +125,7 @@ void GLWidget::project_quad_texture() { QImage& tex = dir < 0 ? back : front; QImage texture(QSize(sx, sy), QImage::Format_RGBA8888); - QColor bgColor = palette().color(QPalette::Current, QPalette::Window); - texture.fill(bgColor); + texture.fill(QColor(0xcc, 0xcc, 0xcc, 0xff)); const vec2 projected[2][3] = { { pt[0], pt[1], pt[2] }, { pt[3], pt[1], pt[2] } }; const vec2 origs[2][3] = { |