From 420e226b128094cabfea3d9de75edf55e7624c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 24 Nov 2012 10:14:45 +0100 Subject: [PATCH] Pass the parameter passed to KDecoration::region() to KCommonDecoration Adjusts for possible future use. REVIEW: 107443 --- libkdecorations/kcommondecoration_p.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libkdecorations/kcommondecoration_p.cpp b/libkdecorations/kcommondecoration_p.cpp index 5851c546fd..584eaed2fb 100644 --- a/libkdecorations/kcommondecoration_p.cpp +++ b/libkdecorations/kcommondecoration_p.cpp @@ -132,7 +132,6 @@ QRegion KCommonDecorationWrapper::region(KDecorationDefines::Region r) QMetaObject::invokeMethod(decoration, "region", Qt::DirectConnection, Q_RETURN_ARG(QRegion, region), - Q_ARG(KDecorationDefines::Region, - KDecorationDefines::ExtendedBorderRegion)); + Q_ARG(KDecorationDefines::Region, r)); return region; }