summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_posewidget
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_posewidget')
-rw-r--r--ftnoir_posewidget/glwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_posewidget/glwidget.cpp b/ftnoir_posewidget/glwidget.cpp
index 275953a7..71af8a08 100644
--- a/ftnoir_posewidget/glwidget.cpp
+++ b/ftnoir_posewidget/glwidget.cpp
@@ -140,7 +140,7 @@ void GLWidget::project_quad_texture() {
for (int i = 0; i < 4; i++)
p2[i] = Vec2f(pt[i].x, pt[i].y);
QImage texture(QSize(sx, sy), QImage::Format_RGB888);
- QColor bgColor = palette().color(QPalette::Normal, QPalette::Background);
+ QColor bgColor = palette().color(QPalette::Current, QPalette::Window);
texture.fill(bgColor);
const Vec2f projected[2][3] = { { p2[0], p2[1], p2[2] }, { p2[3], p2[1], p2[2] } };