Replace titles for hidden tabs warning and color picker dialog

This commit is contained in:
Mm2PL 2023-08-06 18:21:47 +02:00
parent d38caafcbc
commit b015967d07
2 changed files with 5 additions and 2 deletions

View file

@ -2,6 +2,7 @@
#include "Application.hpp"
#include "common/QLogging.hpp"
#include "common/Version.hpp"
#include "controllers/hotkeys/HotkeyCategory.hpp"
#include "controllers/hotkeys/HotkeyController.hpp"
#include "singletons/Resources.hpp"
@ -497,7 +498,8 @@ void Notebook::showTabVisibilityInfoPopup()
")";
}
QMessageBox msgBox(this->window());
msgBox.window()->setWindowTitle("Chatterino - hidden tabs");
msgBox.window()->setWindowTitle(Version::instance().fullVersion() +
" - hidden tabs");
msgBox.setText("You've just hidden your tabs.");
msgBox.setInformativeText(
"You can toggle tabs by using the keyboard shortcut " + hotkeyInfo +

View file

@ -1,5 +1,6 @@
#include "widgets/dialogs/ColorPickerDialog.hpp"
#include "common/Version.hpp"
#include "providers/colors/ColorProvider.hpp"
#include "singletons/Theme.hpp"
#include "util/LayoutCreator.hpp"
@ -281,7 +282,7 @@ void ColorPickerDialog::initDefaultColors(LayoutCreator<QWidget> &creator)
void ColorPickerDialog::initColorPicker(LayoutCreator<QWidget> &creator)
{
this->setWindowTitle("Chatterino - color picker");
this->setWindowTitle(Version::instance().fullVersion() + " - color picker");
auto cpPanel = creator.setLayoutType<QHBoxLayout>();
/*