From 41f2b0457a9d6e854d6082a9b3eb6dee70551549 Mon Sep 17 00:00:00 2001 From: srcejon Date: Thu, 10 Oct 2024 15:21:53 +0100 Subject: [PATCH] Cleanup --- sdrgui/mainwindow.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sdrgui/mainwindow.cpp b/sdrgui/mainwindow.cpp index 8043605fb..e00ea0916 100644 --- a/sdrgui/mainwindow.cpp +++ b/sdrgui/mainwindow.cpp @@ -795,8 +795,6 @@ void RemoveDeviceSetFSM::removeDeviceSet() DeviceAPI *deviceAPI = m_deviceUISet->m_deviceAPI; delete m_deviceUISet; - // FIXME: DSPEngine::addDeviceSourceEngine() used to setup deleteLater for these objects - // But that would cause crash on exit if (m_deviceSourceEngine) { delete deviceAPI->getSampleSource(); } else if (m_deviceSinkEngine) { @@ -946,11 +944,7 @@ void LoadConfigurationFSM::createWorkspaces() m_mainWindow->m_workspaces[i]->setAutoStackOption(m_configuration->getWorkspaceAutoStackOptions()[i]); m_mainWindow->m_workspaces[i]->setTabSubWindowsOption(m_configuration->getWorkspaceTabSubWindowsOptions()[i]); } - - if (m_mainWindow->m_workspaces.size() <= 0) { // cannot go further if there are no workspaces - // FIXME: How to terminate FSM?? Need extra transition to final } -} void LoadConfigurationFSM::loadDeviceSets() {