test #3
This commit is contained in:
@@ -314,7 +314,7 @@ void Updates::setStatus_(Status status)
|
|||||||
if (this->status_ != status)
|
if (this->status_ != status)
|
||||||
{
|
{
|
||||||
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));
|
button.setPixmap(QPixmap(imageUrl));
|
||||||
};
|
};
|
||||||
|
|
||||||
updateChange(Updates::getInstance().getStatus());
|
// updateChange(Updates::getInstance().getStatus());
|
||||||
|
|
||||||
signalHolder.managedConnect(
|
// signalHolder.managedConnect(
|
||||||
Updates::getInstance().statusUpdated,
|
// Updates::getInstance().statusUpdated,
|
||||||
[updateChange](auto status) { updateChange(status); });
|
// [updateChange](auto status) { updateChange(status); });
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace chatterino
|
} // namespace chatterino
|
||||||
|
|||||||
@@ -530,7 +530,7 @@ void SplitNotebook::addCustomButtons()
|
|||||||
// updates
|
// updates
|
||||||
auto updateBtn = this->addCustomButton();
|
auto updateBtn = this->addCustomButton();
|
||||||
|
|
||||||
initUpdateButton(*updateBtn, this->signalHolder_);
|
//initUpdateButton(*updateBtn, this->signalHolder_);
|
||||||
}
|
}
|
||||||
|
|
||||||
SplitContainer *SplitNotebook::addPage(bool select)
|
SplitContainer *SplitNotebook::addPage(bool select)
|
||||||
|
|||||||
Reference in New Issue
Block a user