summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2010-02-04 10:05:39 (GMT)
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2010-02-05 07:50:41 (GMT)
commitf92253080a73a60a3d6ce8343b94788334ce9a2b (patch)
tree9838f39860e310caf31f6e926584a079c682ecbc /src/gui/kernel
parent7bc616cce1c41825ebcdd6df35932eb128a9871c (diff)
downloadQt-f92253080a73a60a3d6ce8343b94788334ce9a2b.zip
Qt-f92253080a73a60a3d6ce8343b94788334ce9a2b.tar.gz
Qt-f92253080a73a60a3d6ce8343b94788334ce9a2b.tar.bz2
Compile.
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qwidget_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget_mac.mm b/src/gui/kernel/qwidget_mac.mm
index b5888b4..9e7517f 100644
--- a/src/gui/kernel/qwidget_mac.mm
+++ b/src/gui/kernel/qwidget_mac.mm
@@ -569,7 +569,7 @@ inline static void qt_mac_set_window_group_to_popup(OSWindowRef window)
void qt_mac_set_needs_display(QWidget *widget, QRegion region)
{
NSView *theNSView = qt_mac_nativeview_for(widget);
- if (region.isNull()) {
+ if (region.isEmpty()) {
[theNSView setNeedsDisplay:YES];
return;
}