mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Special message when login expired.
This commit is contained in:
parent
3b3791e43a
commit
978d5aa1c1
1 changed files with 10 additions and 0 deletions
|
@ -123,6 +123,11 @@ void LogsPopup::getLogviewerLogs(const QString &roomID)
|
||||||
args);
|
args);
|
||||||
messages.push_back(builder.build());
|
messages.push_back(builder.build());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
messages.push_back(
|
||||||
|
MessageBuilder(systemMessage,
|
||||||
|
"Logs provided by https://cbenni.com")
|
||||||
|
.release());
|
||||||
this->setMessages(messages);
|
this->setMessages(messages);
|
||||||
|
|
||||||
return Success;
|
return Success;
|
||||||
|
@ -142,6 +147,7 @@ void LogsPopup::getOverrustleLogs()
|
||||||
auto box = new QMessageBox(
|
auto box = new QMessageBox(
|
||||||
QMessageBox::Information, "Error getting logs",
|
QMessageBox::Information, "Error getting logs",
|
||||||
"No logs could be found for channel " + this->channelName_);
|
"No logs could be found for channel " + this->channelName_);
|
||||||
|
box->setWindowFlag(Qt::WindowStaysOnTopHint);
|
||||||
box->setAttribute(Qt::WA_DeleteOnClose);
|
box->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
box->show();
|
box->show();
|
||||||
box->raise();
|
box->raise();
|
||||||
|
@ -182,6 +188,10 @@ void LogsPopup::getOverrustleLogs()
|
||||||
messages.push_back(builder.release());
|
messages.push_back(builder.release());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
messages.push_back(
|
||||||
|
MessageBuilder(systemMessage,
|
||||||
|
"Logs provided by https://overrustlelogs.net")
|
||||||
|
.release());
|
||||||
this->setMessages(messages);
|
this->setMessages(messages);
|
||||||
|
|
||||||
return Success;
|
return Success;
|
||||||
|
|
Loading…
Reference in a new issue