diff options
author | Fabien Freling <fabien.freling@nokia.com> | 2011-02-14 14:29:07 (GMT) |
---|---|---|
committer | Fabien Freling <fabien.freling@nokia.com> | 2011-02-14 15:17:50 (GMT) |
commit | 7da16ed9888133039c6d7a261fc7c4b61d9b6114 (patch) | |
tree | 572aa6808a811946baca608a8c4e4bfe9488b289 /src/gui | |
parent | e7c3a905637a157d4989682c49b7c5691071eb81 (diff) | |
download | Qt-7da16ed9888133039c6d7a261fc7c4b61d9b6114.zip Qt-7da16ed9888133039c6d7a261fc7c4b61d9b6114.tar.gz Qt-7da16ed9888133039c6d7a261fc7c4b61d9b6114.tar.bz2 |
Remove useless statements.
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qt_cocoa_helpers_mac.mm | 2 | ||||
-rw-r--r-- | src/gui/painting/qwindowsurface_raster.cpp | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/kernel/qt_cocoa_helpers_mac.mm b/src/gui/kernel/qt_cocoa_helpers_mac.mm index 71f59e3..f3e1c9a 100644 --- a/src/gui/kernel/qt_cocoa_helpers_mac.mm +++ b/src/gui/kernel/qt_cocoa_helpers_mac.mm @@ -1587,14 +1587,12 @@ void qt_mac_display(QWidget *widget) { NSView *theNSView = qt_mac_nativeview_for(widget); [theNSView display]; - return; } void qt_mac_setNeedsDisplay(QWidget *widget) { NSView *theNSView = qt_mac_nativeview_for(widget); [theNSView setNeedsDisplay:YES]; - return; } void qt_mac_setNeedsDisplayInRect(QWidget *widget, QRegion region) diff --git a/src/gui/painting/qwindowsurface_raster.cpp b/src/gui/painting/qwindowsurface_raster.cpp index 8e09c58..45111dc 100644 --- a/src/gui/painting/qwindowsurface_raster.cpp +++ b/src/gui/painting/qwindowsurface_raster.cpp @@ -256,8 +256,6 @@ void QRasterWindowSurface::flush(QWidget *widget, const QRegion &rgn, const QPoi #ifdef Q_WS_MAC - Q_UNUSED(offset); - // This is mainly done for native components like native "open file" dialog. if (widget->testAttribute(Qt::WA_DontShowOnScreen)) { return; |