use terminal icon for log toggle button

This commit is contained in:
Bob van der Linden 2022-03-10 20:07:16 +01:00
parent 53d3fcb2fd
commit 923379def6
No known key found for this signature in database
GPG key ID: EEBE8E3EC4A31364

View file

@ -97,7 +97,7 @@ ExecutionViewStep::ExecutionViewStep( QObject* parent )
bottomLayout->addWidget( m_label );
QToolBar* toolBar = new QToolBar;
auto toggleLogAction = toolBar->addAction(QIcon::fromTheme("file-icon"), "Toggle log");
auto toggleLogAction = toolBar->addAction(QIcon::fromTheme("utilities-terminal"), "Toggle log");
auto toggleLogButton = dynamic_cast<QToolButton*>(toolBar->widgetForAction(toggleLogAction));
connect( toggleLogButton, &QToolButton::clicked, this, &ExecutionViewStep::toggleLog );