diff options
-rw-r--r-- | utils/themeeditor/graphics/rbviewport.cpp | 2 | ||||
-rw-r--r-- | 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 a2e7bf49d3..b620e1b554 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) | |||
115 | 115 | ||
116 | setPos(x, y); | 116 | setPos(x, y); |
117 | size = QRectF(0, 0, w, h); | 117 | size = QRectF(0, 0, w, h); |
118 | debug = info.device()->data("showviewports").toBool(); | ||
119 | } | 118 | } |
120 | 119 | ||
120 | debug = info.device()->data("showviewports").toBool(); | ||
121 | lineHeight = font->lineHeight(); | 121 | lineHeight = font->lineHeight(); |
122 | } | 122 | } |
123 | 123 | ||
diff --git a/utils/themeeditor/gui/skinviewer.ui b/utils/themeeditor/gui/skinviewer.ui index d1116888b9..333eeefba5 100644 --- a/utils/themeeditor/gui/skinviewer.ui +++ b/utils/themeeditor/gui/skinviewer.ui | |||
@@ -15,7 +15,14 @@ | |||
15 | </property> | 15 | </property> |
16 | <layout class="QVBoxLayout" name="verticalLayout"> | 16 | <layout class="QVBoxLayout" name="verticalLayout"> |
17 | <item> | 17 | <item> |
18 | <widget class="QGraphicsView" name="viewer"/> | 18 | <widget class="QGraphicsView" name="viewer"> |
19 | <property name="cacheMode"> | ||
20 | <set>QGraphicsView::CacheNone</set> | ||
21 | </property> | ||
22 | <property name="viewportUpdateMode"> | ||
23 | <enum>QGraphicsView::FullViewportUpdate</enum> | ||
24 | </property> | ||
25 | </widget> | ||
19 | </item> | 26 | </item> |
20 | <item> | 27 | <item> |
21 | <layout class="QHBoxLayout" name="horizontalLayout"> | 28 | <layout class="QHBoxLayout" name="horizontalLayout"> |