forked from qt-creator/qt-creator
Core: Use QList's initializer list contructor for output panes
More concise code. Change-Id: I0c83a02de725648294e1b6b49669bdec0c47fafe Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -321,8 +321,7 @@ QWidget *AppOutputPane::outputWidget(QWidget *)
|
||||
|
||||
QList<QWidget*> AppOutputPane::toolBarWidgets() const
|
||||
{
|
||||
return QList<QWidget*>() << m_reRunButton << m_stopButton << m_attachButton
|
||||
<< m_zoomInButton << m_zoomOutButton;
|
||||
return { m_reRunButton, m_stopButton, m_attachButton, m_zoomInButton, m_zoomOutButton };
|
||||
}
|
||||
|
||||
QString AppOutputPane::displayName() const
|
||||
|
||||
Reference in New Issue
Block a user