?
This commit is contained in:
@@ -197,8 +197,6 @@ TextElement::TextElement(const QString &text, MessageElementFlags flags,
|
|||||||
, color_(color)
|
, color_(color)
|
||||||
, style_(style)
|
, style_(style)
|
||||||
{
|
{
|
||||||
assert(text != "authentication");
|
|
||||||
|
|
||||||
for (const auto &word : text.split(' '))
|
for (const auto &word : text.split(' '))
|
||||||
{
|
{
|
||||||
this->words_.push_back({word, -1});
|
this->words_.push_back({word, -1});
|
||||||
|
|||||||
@@ -151,15 +151,8 @@ void LogsPopup::getOverrustleLogs()
|
|||||||
box->setAttribute(Qt::WA_DeleteOnClose);
|
box->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
box->show();
|
box->show();
|
||||||
box->raise();
|
box->raise();
|
||||||
|
this->close();
|
||||||
static QSet<int> closeButtons{
|
box->exec();
|
||||||
QMessageBox::Ok,
|
|
||||||
QMessageBox::Close,
|
|
||||||
};
|
|
||||||
if (closeButtons.contains(box->exec()))
|
|
||||||
{
|
|
||||||
this->close();
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user