diff options
author | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2010-02-04 10:05:39 (GMT) |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2010-02-05 07:50:41 (GMT) |
commit | f92253080a73a60a3d6ce8343b94788334ce9a2b (patch) | |
tree | 9838f39860e310caf31f6e926584a079c682ecbc /src/gui | |
parent | 7bc616cce1c41825ebcdd6df35932eb128a9871c (diff) | |
download | Qt-f92253080a73a60a3d6ce8343b94788334ce9a2b.zip Qt-f92253080a73a60a3d6ce8343b94788334ce9a2b.tar.gz Qt-f92253080a73a60a3d6ce8343b94788334ce9a2b.tar.bz2 |
Compile.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qwidget_mac.mm | 2 |
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; } |