Commit 9e52df8d authored by Mariusz Glebocki's avatar Mariusz Glebocki Committed by Kurt Hindenburg
Browse files

Show profile icon on split header from the beginning

The icon has been appearing only when it was changed (to another profile
icon or e.g. bell icon).
parent 9855b2c1
......@@ -90,10 +90,12 @@ void TerminalHeaderBar::finishHeaderSetup(ViewProperties *properties)
connect(properties, &Konsole::ViewProperties::titleChanged, this, [this, properties]{
m_terminalTitle->setText(properties->title());
});
m_terminalTitle->setText(properties->title());
connect(properties, &Konsole::ViewProperties::iconChanged, this, [this, properties] {
m_terminalIcon->setPixmap(properties->icon().pixmap(QSize(22,22)));
});
m_terminalIcon->setPixmap(properties->icon().pixmap(QSize(22,22)));
connect(properties, &Konsole::ViewProperties::activity, this, [this]{
m_terminalActivity->setPixmap(QPixmap());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment