forked from qt-creator/qt-creator
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:
@@ -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()
|
||||
|
||||
@@ -72,11 +72,6 @@ public:
|
||||
|
||||
void installEssentials();
|
||||
|
||||
signals:
|
||||
void updatingSdk();
|
||||
void updatingSdkFinished();
|
||||
void licenseWorkflowStarted();
|
||||
|
||||
private:
|
||||
void onApplyButton(const QString &extraMessage = {});
|
||||
void onUpdatePackages();
|
||||
|
||||
Reference in New Issue
Block a user