From 4ab00a36b9237bc4b26193dc08e8ef223717d21d Mon Sep 17 00:00:00 2001 From: Lars Toenning Date: Wed, 1 Jan 2025 16:08:10 +0100 Subject: [PATCH] refactor: Remove unused function --- src/core/context/contextsimulatorimpl.cpp | 10 ---------- src/core/context/contextsimulatorimpl.h | 3 --- 2 files changed, 13 deletions(-) diff --git a/src/core/context/contextsimulatorimpl.cpp b/src/core/context/contextsimulatorimpl.cpp index 20177750e..41a30984b 100644 --- a/src/core/context/contextsimulatorimpl.cpp +++ b/src/core/context/contextsimulatorimpl.cpp @@ -598,16 +598,6 @@ namespace swift::core::context return true; } - void CContextSimulator::listenForAllSimulators() - { - const auto plugins = getAvailableSimulatorPlugins(); - for (const CSimulatorPluginInfo &p : plugins) - { - Q_ASSERT(!p.isUnspecified()); - if (p.isValid()) { this->listenForSimulator(p); } - } - } - void CContextSimulator::unloadSimulatorPlugin() { if (!m_simulatorPlugin.first.isUnspecified()) diff --git a/src/core/context/contextsimulatorimpl.h b/src/core/context/contextsimulatorimpl.h index c4a630b7a..c40380f90 100644 --- a/src/core/context/contextsimulatorimpl.h +++ b/src/core/context/contextsimulatorimpl.h @@ -363,9 +363,6 @@ namespace swift::core //! Listen for single simulator bool listenForSimulator(const swift::misc::simulation::CSimulatorPluginInfo &simulatorInfo); - //! Listen for all simulators - void listenForAllSimulators(); - //! Call stop() on all loaded listeners void stopSimulatorListeners();