mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
?
This commit is contained in:
parent
978d5aa1c1
commit
e140905faf
2 changed files with 2 additions and 11 deletions
|
@ -197,8 +197,6 @@ TextElement::TextElement(const QString &text, MessageElementFlags flags,
|
|||
, color_(color)
|
||||
, style_(style)
|
||||
{
|
||||
assert(text != "authentication");
|
||||
|
||||
for (const auto &word : text.split(' '))
|
||||
{
|
||||
this->words_.push_back({word, -1});
|
||||
|
|
|
@ -151,15 +151,8 @@ void LogsPopup::getOverrustleLogs()
|
|||
box->setAttribute(Qt::WA_DeleteOnClose);
|
||||
box->show();
|
||||
box->raise();
|
||||
|
||||
static QSet<int> closeButtons{
|
||||
QMessageBox::Ok,
|
||||
QMessageBox::Close,
|
||||
};
|
||||
if (closeButtons.contains(box->exec()))
|
||||
{
|
||||
this->close();
|
||||
}
|
||||
this->close();
|
||||
box->exec();
|
||||
|
||||
return true;
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue