mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Replace StreamLink and LastRunCrashDialog window titles
This commit is contained in:
parent
b015967d07
commit
9283c3f401
2 changed files with 4 additions and 2 deletions
|
@ -57,7 +57,8 @@ namespace {
|
||||||
void showStreamlinkNotFoundError()
|
void showStreamlinkNotFoundError()
|
||||||
{
|
{
|
||||||
static QErrorMessage *msg = new QErrorMessage;
|
static QErrorMessage *msg = new QErrorMessage;
|
||||||
msg->setWindowTitle("Chatterino - streamlink not found");
|
msg->setWindowTitle(Version::instance().fullVersion() +
|
||||||
|
" - streamlink not found");
|
||||||
|
|
||||||
if (getSettings()->streamlinkUseCustomPath)
|
if (getSettings()->streamlinkUseCustomPath)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include "LastRunCrashDialog.hpp"
|
#include "LastRunCrashDialog.hpp"
|
||||||
|
|
||||||
|
#include "common/Version.hpp"
|
||||||
#include "singletons/Updates.hpp"
|
#include "singletons/Updates.hpp"
|
||||||
#include "util/LayoutCreator.hpp"
|
#include "util/LayoutCreator.hpp"
|
||||||
#include "util/PostToThread.hpp"
|
#include "util/PostToThread.hpp"
|
||||||
|
@ -14,7 +15,7 @@ namespace chatterino {
|
||||||
LastRunCrashDialog::LastRunCrashDialog()
|
LastRunCrashDialog::LastRunCrashDialog()
|
||||||
{
|
{
|
||||||
this->setWindowFlag(Qt::WindowContextHelpButtonHint, false);
|
this->setWindowFlag(Qt::WindowContextHelpButtonHint, false);
|
||||||
this->setWindowTitle("Chatterino");
|
this->setWindowTitle(Version::instance().fullVersion());
|
||||||
|
|
||||||
auto layout =
|
auto layout =
|
||||||
LayoutCreator<LastRunCrashDialog>(this).setLayoutType<QVBoxLayout>();
|
LayoutCreator<LastRunCrashDialog>(this).setLayoutType<QVBoxLayout>();
|
||||||
|
|
Loading…
Reference in a new issue