diff options
author | Rene Engelhard <rene@debian.org> | 2011-02-04 20:31:55 +0100 |
---|---|---|
committer | Rene Engelhard <rene@debian.org> | 2011-02-04 20:31:55 +0100 |
commit | 07a948b36174d3ac2023a6c1b5b18f3628410fc4 (patch) | |
tree | 1c00f522ce89fd816e4ae73de06b0be5675172d1 /vcl/unx/kde4/KDESalGraphics.cxx | |
parent | 91c8929f648e22a2d115dccb53b55b97da73a4fe (diff) |
add explicit QRegion* for clipRegion to fix compile
Diffstat (limited to 'vcl/unx/kde4/KDESalGraphics.cxx')
-rw-r--r-- | vcl/unx/kde4/KDESalGraphics.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx index 9eba158ca15c..314fc0a9af91 100644 --- a/vcl/unx/kde4/KDESalGraphics.cxx +++ b/vcl/unx/kde4/KDESalGraphics.cxx @@ -354,7 +354,7 @@ BOOL KDESalGraphics::drawNativeControl( ControlType type, ControlPart part, { // reduce paint area only to the handle area const int width = kapp->style()->pixelMetric(QStyle::PM_ToolBarHandleExtent); QRect rect( 0, 0, width, widgetRect.height()); - clipRegion = new QRegion( widgetRect.x(), widgetRect.y(), width, widgetRect.height()); + QRegion* clipRegion = new QRegion( widgetRect.x(), widgetRect.y(), width, widgetRect.height()); QStyleOption option; option.state = QStyle::State_Horizontal; |