summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-02-18 12:31:22 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-02-19 12:39:29 +0000
commit8e098f87bbab8ac0c5189f432bbfe0aa7dfe3a16 (patch)
tree3deef789fa3bafa542ff6a66217fc7d7cd8948c8
parent195b2321d22bbf94ed4f40441687a97dbd975916 (diff)
macOS: Remove unused variable
Change-Id: I7e016db57cbf347529b6aa003d84585eeab0767d Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-rw-r--r--src/plugins/platforms/cocoa/qcocoawindow.mm2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoawindow.mm b/src/plugins/platforms/cocoa/qcocoawindow.mm
index ca580e7d17..4aee3527c8 100644
--- a/src/plugins/platforms/cocoa/qcocoawindow.mm
+++ b/src/plugins/platforms/cocoa/qcocoawindow.mm
@@ -1136,8 +1136,6 @@ void QCocoaWindow::handleGeometryChange()
void QCocoaWindow::handleExposeEvent(const QRegion &region)
{
- const QRect previouslyExposedRect = m_exposedRect;
-
// Ideally we'd implement isExposed() in terms of these properties,
// plus the occlusionState of the NSWindow, and let the expose event
// pull the exposed state out when needed. However, when the window