Replace StreamLink and LastRunCrashDialog window titles

This commit is contained in:
Mm2PL 2023-08-06 18:25:32 +02:00
parent b015967d07
commit 9283c3f401
2 changed files with 4 additions and 2 deletions

View file

@ -57,7 +57,8 @@ namespace {
void showStreamlinkNotFoundError()
{
static QErrorMessage *msg = new QErrorMessage;
msg->setWindowTitle("Chatterino - streamlink not found");
msg->setWindowTitle(Version::instance().fullVersion() +
" - streamlink not found");
if (getSettings()->streamlinkUseCustomPath)
{

View file

@ -1,5 +1,6 @@
#include "LastRunCrashDialog.hpp"
#include "common/Version.hpp"
#include "singletons/Updates.hpp"
#include "util/LayoutCreator.hpp"
#include "util/PostToThread.hpp"
@ -14,7 +15,7 @@ namespace chatterino {
LastRunCrashDialog::LastRunCrashDialog()
{
this->setWindowFlag(Qt::WindowContextHelpButtonHint, false);
this->setWindowTitle("Chatterino");
this->setWindowTitle(Version::instance().fullVersion());
auto layout =
LayoutCreator<LastRunCrashDialog>(this).setLayoutType<QVBoxLayout>();