Pass the parameter passed to KDecoration::region() to KCommonDecoration

Adjusts for possible future use.
REVIEW: 107443
This commit is contained in:
Martin Gräßlin 2012-11-24 10:14:45 +01:00
parent 85d2f1cb61
commit 420e226b12

View file

@ -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;
}