mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
parent
9d1213ecad
commit
44551b4009
|
@ -314,7 +314,7 @@ void Updates::setStatus_(Status status)
|
|||
if (this->status_ != status)
|
||||
{
|
||||
this->status_ = status;
|
||||
postToThread([this, status] { this->statusUpdated.invoke(status); });
|
||||
//postToThread([this, status] { this->statusUpdated.invoke(status); });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -47,11 +47,11 @@ void initUpdateButton(Button &button,
|
|||
button.setPixmap(QPixmap(imageUrl));
|
||||
};
|
||||
|
||||
// updateChange(Updates::getInstance().getStatus());
|
||||
updateChange(Updates::getInstance().getStatus());
|
||||
|
||||
// signalHolder.managedConnect(
|
||||
// Updates::getInstance().statusUpdated,
|
||||
// [updateChange](auto status) { updateChange(status); });
|
||||
signalHolder.managedConnect(
|
||||
Updates::getInstance().statusUpdated,
|
||||
[updateChange](auto status) { updateChange(status); });
|
||||
}
|
||||
|
||||
} // namespace chatterino
|
||||
|
|
|
@ -530,7 +530,7 @@ void SplitNotebook::addCustomButtons()
|
|||
// updates
|
||||
auto updateBtn = this->addCustomButton();
|
||||
|
||||
//initUpdateButton(*updateBtn, this->signalHolder_);
|
||||
initUpdateButton(*updateBtn, this->signalHolder_);
|
||||
}
|
||||
|
||||
SplitContainer *SplitNotebook::addPage(bool select)
|
||||
|
|
Loading…
Reference in a new issue