diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-10-04 10:25:09 +0200 |
---|---|---|
committer | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-10-04 11:28:31 +0200 |
commit | 277de587f956dba2a68eb82b9666063ab12c51c4 (patch) | |
tree | 121313375d1708821e469390f94a9e7f611ab789 | |
parent | 11f2e7df5762a23e66d1755b34f5f3d07208ae32 (diff) | |
download | qtwayland-277de587f956dba2a68eb82b9666063ab12c51c4.tar.gz |
Compositor: Remove unused local variable
Was shadowed in 11f2e7df5 when fixing QTBUG-78969.
Task-number: QTBUG-78969
Change-Id: I933373b5233ae8b45cdab7c3ffd14a1502486ae8
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-rw-r--r-- | src/compositor/extensions/qwaylandxdgshellintegration.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshellintegration.cpp b/src/compositor/extensions/qwaylandxdgshellintegration.cpp index 08e09821..f415a5a2 100644 --- a/src/compositor/extensions/qwaylandxdgshellintegration.cpp +++ b/src/compositor/extensions/qwaylandxdgshellintegration.cpp @@ -235,7 +235,6 @@ void XdgToplevelIntegration::handleUnsetFullscreen() void XdgToplevelIntegration::handleFullscreenChanged() { if (m_toplevel->fullscreen()) { - QWaylandOutput *output = m_item->view()->output(); if (auto *output = m_item->view()->output()) { m_item->moveItem()->setPosition(output->position() + output->geometry().topLeft()); } else { |