From c2bc0dd937db9a250f1b4775acde417a290c0094 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 11 Dec 2024 14:52:27 +0100 Subject: [PATCH] PluginInstallWizard: Remove unneeded code Remove an unneeded `if` and actually no need to override a method that just calls the parent implementation. Change-Id: I9f17ed1587227ce8f0ba14cdeb72dd32b73513ba Reviewed-by: hjk --- src/plugins/coreplugin/plugininstallwizard.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/plugins/coreplugin/plugininstallwizard.cpp b/src/plugins/coreplugin/plugininstallwizard.cpp index 5547e685582..be49395d5b1 100644 --- a/src/plugins/coreplugin/plugininstallwizard.cpp +++ b/src/plugins/coreplugin/plugininstallwizard.cpp @@ -112,13 +112,6 @@ public: return bool(sourceAndCommand); } - int nextId() const final - { - if (hasLibSuffix(m_data->sourcePath)) - return WizardPage::nextId(); - return WizardPage::nextId(); - } - InfoLabel *m_info = nullptr; Data *m_data = nullptr; };