aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickborderimage_p_p.h
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2019-09-16 14:12:50 +0200
committerJan Arve Sæther <jan-arve.saether@qt.io>2019-09-16 15:03:05 +0200
commitb7e5b0c25b7c02b40c2072f45a0a0feb8bd2a977 (patch)
tree3c2d0d52eed3e9c4606464ed0d204ee4ab7b0a3f /src/quick/items/qquickborderimage_p_p.h
parent43a6970ce328109d9d367978fa09e838bbac8596 (diff)
Fix qmlobject_{dis}connect macros to require semicolon at the end
Just do the typical do { [..stuff..] } while(0) in the macros Fix the places that didn't have semicolons. This should eliminate some compiler warnings complaining about excessive semicolons Change-Id: I6b0e7a55badfd0f80c3cd0e9e1da42dc41945485 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/items/qquickborderimage_p_p.h')
-rw-r--r--src/quick/items/qquickborderimage_p_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickborderimage_p_p.h b/src/quick/items/qquickborderimage_p_p.h
index 0f4e7acc05..17dab7d121 100644
--- a/src/quick/items/qquickborderimage_p_p.h
+++ b/src/quick/items/qquickborderimage_p_p.h
@@ -86,7 +86,7 @@ public:
if (!border) {
border = new QQuickScaleGrid(q);
qmlobject_connect(border, QQuickScaleGrid, SIGNAL(borderChanged()),
- q, QQuickBorderImage, SLOT(doUpdate()))
+ q, QQuickBorderImage, SLOT(doUpdate()));
}
return border;
}