use terminal icon for log toggle button
This commit is contained in:
parent
53d3fcb2fd
commit
923379def6
@ -97,7 +97,7 @@ ExecutionViewStep::ExecutionViewStep( QObject* parent )
|
|||||||
bottomLayout->addWidget( m_label );
|
bottomLayout->addWidget( m_label );
|
||||||
|
|
||||||
QToolBar* toolBar = new QToolBar;
|
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));
|
auto toggleLogButton = dynamic_cast<QToolButton*>(toolBar->widgetForAction(toggleLogAction));
|
||||||
connect( toggleLogButton, &QToolButton::clicked, this, &ExecutionViewStep::toggleLog );
|
connect( toggleLogButton, &QToolButton::clicked, this, &ExecutionViewStep::toggleLog );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user