Android: Remove unused signals

Change-Id: I89116e51ffdbbb326241cf8250c7d11ec30839da
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Jarek Kobus
2024-04-16 12:40:07 +02:00
parent bd282f1ada
commit 79f488bc47
2 changed files with 4 additions and 20 deletions

View File

@@ -542,22 +542,11 @@ void AndroidSdkManagerWidget::switchView(AndroidSdkManagerWidget::View view)
if (m_currentView == PackageListing)
m_formatter->clear();
m_currentView = view;
if (m_currentView == PackageListing) {
// We need the buttonBox only in the main listing view, as the license and update
// views already have a cancel button.
m_buttonBox->button(QDialogButtonBox::Apply)->setVisible(true);
emit updatingSdkFinished();
} else {
m_buttonBox->button(QDialogButtonBox::Apply)->setVisible(false);
emit updatingSdk();
}
if (m_currentView == LicenseWorkflow)
emit licenseWorkflowStarted();
m_buttonBox->button(QDialogButtonBox::Apply)->setVisible(m_currentView == PackageListing);
m_operationProgress->setValue(0);
m_viewStack->setCurrentWidget(m_currentView == PackageListing ?
m_packagesStack : m_outputStack);
m_viewStack->setCurrentWidget(m_currentView == PackageListing ? m_packagesStack : m_outputStack);
}
void AndroidSdkManagerWidget::runPendingCommand()

View File

@@ -72,11 +72,6 @@ public:
void installEssentials();
signals:
void updatingSdk();
void updatingSdkFinished();
void licenseWorkflowStarted();
private:
void onApplyButton(const QString &extraMessage = {});
void onUpdatePackages();