From 440ec1c6093e808b12d198a875a4c11244aedb6f Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Sun, 19 Dec 2021 08:05:46 +0000 Subject: [PATCH] Remove unused vars --- components/containmentlayoutmanager/appletslayout.h | 1 - libtaskmanager/virtualdesktopinfo.cpp | 2 -- 2 files changed, 3 deletions(-) diff --git a/components/containmentlayoutmanager/appletslayout.h b/components/containmentlayoutmanager/appletslayout.h index 6eac5317a..309a8944f 100644 --- a/components/containmentlayoutmanager/appletslayout.h +++ b/components/containmentlayoutmanager/appletslayout.h @@ -226,7 +226,6 @@ private: QPointF m_mouseDownPosition = QPoint(-1, -1); bool m_mouseDownWasEditMode = false; bool m_editMode = false; - bool m_sizeSpecificLayouts = false; }; Q_DECLARE_OPERATORS_FOR_FLAGS(AppletsLayout::LayoutChanges) diff --git a/libtaskmanager/virtualdesktopinfo.cpp b/libtaskmanager/virtualdesktopinfo.cpp index dd716ad13..97ccdea49 100644 --- a/libtaskmanager/virtualdesktopinfo.cpp +++ b/libtaskmanager/virtualdesktopinfo.cpp @@ -280,8 +280,6 @@ void VirtualDesktopInfo::WaylandPrivate::init() QObject::connect(registry, &KWayland::Client::Registry::plasmaVirtualDesktopManagementAnnounced, [this, registry](quint32 name, quint32 version) { virtualDesktopManagement = registry->createPlasmaVirtualDesktopManagement(name, version, this); - const QList &desktops = virtualDesktopManagement->desktops(); - QObject::connect(virtualDesktopManagement, &KWayland::Client::PlasmaVirtualDesktopManagement::desktopCreated, this,