This commit is contained in:
fourtf 2019-08-21 02:16:33 +02:00
parent 978d5aa1c1
commit e140905faf
2 changed files with 2 additions and 11 deletions

View file

@ -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});

View file

@ -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;
})