mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
test #3
This commit is contained in:
parent
30587e18c9
commit
08004b9181
3 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue