From 47afca2c7138c0af5e031878357dce0bbec1f2fc Mon Sep 17 00:00:00 2001 From: fourtf Date: Sat, 22 Aug 2020 16:49:23 +0200 Subject: [PATCH] miscelaneous changes --- src/widgets/listview/GenericListView.cpp | 5 +++++ src/widgets/settingspages/ExternalToolsPage.cpp | 2 ++ src/widgets/splits/Split.cpp | 6 +++--- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/widgets/listview/GenericListView.cpp b/src/widgets/listview/GenericListView.cpp index b5a0cdde..8eb4312d 100644 --- a/src/widgets/listview/GenericListView.cpp +++ b/src/widgets/listview/GenericListView.cpp @@ -82,6 +82,11 @@ bool GenericListView::eventFilter(QObject * /*watched*/, QEvent *event) emit this->closeRequested(); return true; } + else if (key == Qt::Key_Escape) + { + emit this->closeRequested(); + return true; + } else { return false; diff --git a/src/widgets/settingspages/ExternalToolsPage.cpp b/src/widgets/settingspages/ExternalToolsPage.cpp index 7ea3678c..90e00884 100644 --- a/src/widgets/settingspages/ExternalToolsPage.cpp +++ b/src/widgets/settingspages/ExternalToolsPage.cpp @@ -75,6 +75,7 @@ ExternalToolsPage::ExternalToolsPage() }, this->managedConnections_); } + layout->addSpacing(16); { auto group = layout.emplace("Custom stream player"); @@ -96,6 +97,7 @@ ExternalToolsPage::ExternalToolsPage() lineEdit->setPlaceholderText("custom-player-scheme://"); groupLayout->addRow("Custom stream player URI Scheme:", lineEdit); } + layout->addSpacing(16); { auto group = layout.emplace("Image Uploader"); diff --git a/src/widgets/splits/Split.cpp b/src/widgets/splits/Split.cpp index 08f1538a..798a73d0 100644 --- a/src/widgets/splits/Split.cpp +++ b/src/widgets/splits/Split.cpp @@ -214,9 +214,9 @@ Split::Split(QWidget *parent) QMessageBox msgBox; msgBox.setText("Image upload"); msgBox.setInformativeText( - "You are uploading an image to an external server. You may " - "not be able to remove the image from the site. Are you " - "okay with this?"); + "You are uploading an image to a 3rd party service not in " + "control of the chatterino team. You may not be able to " + "remove the image from the site. Are you okay with this?"); msgBox.addButton(QMessageBox::Cancel); msgBox.addButton(QMessageBox::Yes); msgBox.addButton("Yes, don't ask again", QMessageBox::YesRole);