diff --git a/src/singletons/Updates.cpp b/src/singletons/Updates.cpp index b5fcea2ff..08422a1f2 100644 --- a/src/singletons/Updates.cpp +++ b/src/singletons/Updates.cpp @@ -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); }); } } diff --git a/src/util/InitUpdateButton.cpp b/src/util/InitUpdateButton.cpp index 7db3e990f..563f3654d 100644 --- a/src/util/InitUpdateButton.cpp +++ b/src/util/InitUpdateButton.cpp @@ -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 diff --git a/src/widgets/Notebook.cpp b/src/widgets/Notebook.cpp index 0106d3606..ca81a9353 100644 --- a/src/widgets/Notebook.cpp +++ b/src/widgets/Notebook.cpp @@ -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)