summaryrefslogtreecommitdiffstats
path: root/tests/arthur/common/paintcommands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arthur/common/paintcommands.cpp')
-rw-r--r--tests/arthur/common/paintcommands.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/arthur/common/paintcommands.cpp b/tests/arthur/common/paintcommands.cpp
index d005ffd215..8735baa3f0 100644
--- a/tests/arthur/common/paintcommands.cpp
+++ b/tests/arthur/common/paintcommands.cpp
@@ -1879,7 +1879,7 @@ void PaintCommands::command_setClipRect(QRegExp re)
int w = convertToInt(caps.at(3));
int h = convertToInt(caps.at(4));
- int combine = translateEnum(clipOperationTable, caps.at(5), Qt::UniteClip + 1);
+ int combine = translateEnum(clipOperationTable, caps.at(5), Qt::IntersectClip + 1);
if (combine == -1)
combine = Qt::ReplaceClip;
@@ -1892,7 +1892,7 @@ void PaintCommands::command_setClipRect(QRegExp re)
/***************************************************************************************************/
void PaintCommands::command_setClipPath(QRegExp re)
{
- int combine = translateEnum(clipOperationTable, re.cap(2), Qt::UniteClip + 1);
+ int combine = translateEnum(clipOperationTable, re.cap(2), Qt::IntersectClip + 1);
if (combine == -1)
combine = Qt::ReplaceClip;
@@ -1907,7 +1907,7 @@ void PaintCommands::command_setClipPath(QRegExp re)
/***************************************************************************************************/
void PaintCommands::command_setClipRegion(QRegExp re)
{
- int combine = translateEnum(clipOperationTable, re.cap(2), Qt::UniteClip + 1);
+ int combine = translateEnum(clipOperationTable, re.cap(2), Qt::IntersectClip + 1);
if (combine == -1)
combine = Qt::ReplaceClip;
QRegion r = m_regionMap[re.cap(1)];