remove unused variables

wilder/Plasma/6.3
Xaver Hugl 1 year ago
parent a1d492df31
commit 1f0db90dfb
  1. 2
      src/popup_input_filter.cpp
  2. 2
      src/window.cpp

@ -83,7 +83,7 @@ bool PopupInputFilter::keyEvent(KeyEvent *event)
if (auto internalWindow = qobject_cast<InternalWindow *>(last)) {
QCoreApplication::sendEvent(internalWindow->handle(), event);
} else if (auto waylandWindow = qobject_cast<WaylandWindow *>(last)) {
} else if (qobject_cast<WaylandWindow *>(last)) {
if (!passToInputMethod(event)) {
waylandServer()->seat()->setTimestamp(event->timestamp());
passToWaylandServer(event);

@ -3397,7 +3397,7 @@ void Window::setElectricBorderMaximizing(bool maximizing)
if (maximizing) {
if (auto quickTileMode = std::get_if<QuickTileMode>(&m_electricMode.value())) {
workspace()->outline()->show(quickTileGeometry(*quickTileMode, interactiveMoveResizeAnchor()).toRect(), moveResizeGeometry().toRect());
} else if (auto maximizeMode = std::get_if<MaximizeMode>(&m_electricMode.value())) {
} else if (std::get_if<MaximizeMode>(&m_electricMode.value())) {
workspace()->outline()->show(workspace()->clientArea(MaximizeArea, this, interactiveMoveResizeAnchor()).toRect(), moveResizeGeometry().toRect());
}
} else {

Loading…
Cancel
Save