From aabd20f200852272ea772145c2895af416473157 Mon Sep 17 00:00:00 2001 From: Sean Ditny <138174805+seangoodvibes@users.noreply.github.com> Date: Mon, 15 Jul 2024 18:01:56 -0400 Subject: [PATCH] Remove stale code --- src/deluge/gui/context_menu/stem_export/cancel_stem_export.cpp | 2 -- src/deluge/gui/context_menu/stem_export/done_stem_export.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/deluge/gui/context_menu/stem_export/cancel_stem_export.cpp b/src/deluge/gui/context_menu/stem_export/cancel_stem_export.cpp index bdef2ceb97..dff5186d2f 100644 --- a/src/deluge/gui/context_menu/stem_export/cancel_stem_export.cpp +++ b/src/deluge/gui/context_menu/stem_export/cancel_stem_export.cpp @@ -48,8 +48,6 @@ Sized CancelStemExport::getOptions() { } bool CancelStemExport::acceptCurrentOption() { - using enum l10n::String; - stemExport.stopStemExportProcess(); return false; // return false so you exit out of the context menu diff --git a/src/deluge/gui/context_menu/stem_export/done_stem_export.cpp b/src/deluge/gui/context_menu/stem_export/done_stem_export.cpp index d6c0b176e1..8e95581ff5 100644 --- a/src/deluge/gui/context_menu/stem_export/done_stem_export.cpp +++ b/src/deluge/gui/context_menu/stem_export/done_stem_export.cpp @@ -47,8 +47,6 @@ Sized DoneStemExport::getOptions() { } bool DoneStemExport::acceptCurrentOption() { - using enum l10n::String; - return false; // return false so you exit out of the context menu } } // namespace deluge::gui::context_menu