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)
|
if (m_currentView == PackageListing)
|
||||||
m_formatter->clear();
|
m_formatter->clear();
|
||||||
m_currentView = view;
|
m_currentView = view;
|
||||||
if (m_currentView == PackageListing) {
|
|
||||||
// We need the buttonBox only in the main listing view, as the license and update
|
// We need the buttonBox only in the main listing view, as the license and update
|
||||||
// views already have a cancel button.
|
// views already have a cancel button.
|
||||||
m_buttonBox->button(QDialogButtonBox::Apply)->setVisible(true);
|
m_buttonBox->button(QDialogButtonBox::Apply)->setVisible(m_currentView == PackageListing);
|
||||||
emit updatingSdkFinished();
|
|
||||||
} else {
|
|
||||||
m_buttonBox->button(QDialogButtonBox::Apply)->setVisible(false);
|
|
||||||
emit updatingSdk();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (m_currentView == LicenseWorkflow)
|
|
||||||
emit licenseWorkflowStarted();
|
|
||||||
|
|
||||||
m_operationProgress->setValue(0);
|
m_operationProgress->setValue(0);
|
||||||
m_viewStack->setCurrentWidget(m_currentView == PackageListing ?
|
m_viewStack->setCurrentWidget(m_currentView == PackageListing ? m_packagesStack : m_outputStack);
|
||||||
m_packagesStack : m_outputStack);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AndroidSdkManagerWidget::runPendingCommand()
|
void AndroidSdkManagerWidget::runPendingCommand()
|
||||||
|
|||||||
@@ -72,11 +72,6 @@ public:
|
|||||||
|
|
||||||
void installEssentials();
|
void installEssentials();
|
||||||
|
|
||||||
signals:
|
|
||||||
void updatingSdk();
|
|
||||||
void updatingSdkFinished();
|
|
||||||
void licenseWorkflowStarted();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void onApplyButton(const QString &extraMessage = {});
|
void onApplyButton(const QString &extraMessage = {});
|
||||||
void onUpdatePackages();
|
void onUpdatePackages();
|
||||||
|
|||||||
Reference in New Issue
Block a user