forked from qt-creator/qt-creator
OutputFormatter: De-virtualize the clear() function
... and make it also clear the text edit. Change-Id: Ifd073167b8afc27f3adafca1bdaf95316be7fdaa Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -436,10 +436,8 @@ void AndroidSdkManagerWidget::cancelPendingOperations()
|
||||
|
||||
void AndroidSdkManagerWidget::switchView(AndroidSdkManagerWidget::View view)
|
||||
{
|
||||
if (m_currentView == PackageListing) {
|
||||
if (m_currentView == PackageListing)
|
||||
m_formatter->clear();
|
||||
m_ui->outputEdit->clear();
|
||||
}
|
||||
m_currentView = view;
|
||||
if (m_currentView == PackageListing)
|
||||
emit updatingSdkFinished();
|
||||
|
||||
Reference in New Issue
Block a user