From 3033eee195b79724085e111f8d54b43a0a904961 Mon Sep 17 00:00:00 2001 From: bieber Date: Fri, 2 Jul 2010 05:58:06 +0000 Subject: [PATCH] Theme Editor: Fixed random outlining in default viewport, working on getting the viewer to refresh on re-render git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27235 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/graphics/rbviewport.cpp | 2 +- utils/themeeditor/gui/skinviewer.ui | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/utils/themeeditor/graphics/rbviewport.cpp b/utils/themeeditor/graphics/rbviewport.cpp index a2e7bf49d..b620e1b55 100644 --- a/utils/themeeditor/graphics/rbviewport.cpp +++ b/utils/themeeditor/graphics/rbviewport.cpp @@ -115,9 +115,9 @@ RBViewport::RBViewport(skin_element* node, const RBRenderInfo& info) setPos(x, y); size = QRectF(0, 0, w, h); - debug = info.device()->data("showviewports").toBool(); } + debug = info.device()->data("showviewports").toBool(); lineHeight = font->lineHeight(); } diff --git a/utils/themeeditor/gui/skinviewer.ui b/utils/themeeditor/gui/skinviewer.ui index d1116888b..333eeefba 100644 --- a/utils/themeeditor/gui/skinviewer.ui +++ b/utils/themeeditor/gui/skinviewer.ui @@ -15,7 +15,14 @@ - + + + QGraphicsView::CacheNone + + + QGraphicsView::FullViewportUpdate + + -- 2.11.4.GIT