miscelaneous changes

This commit is contained in:
fourtf
2020-08-22 16:49:23 +02:00
parent f3225275ea
commit 47afca2c71
3 changed files with 10 additions and 3 deletions
+5
View File
@@ -82,6 +82,11 @@ bool GenericListView::eventFilter(QObject * /*watched*/, QEvent *event)
emit this->closeRequested(); emit this->closeRequested();
return true; return true;
} }
else if (key == Qt::Key_Escape)
{
emit this->closeRequested();
return true;
}
else else
{ {
return false; return false;
@@ -75,6 +75,7 @@ ExternalToolsPage::ExternalToolsPage()
}, },
this->managedConnections_); this->managedConnections_);
} }
layout->addSpacing(16);
{ {
auto group = layout.emplace<QGroupBox>("Custom stream player"); auto group = layout.emplace<QGroupBox>("Custom stream player");
@@ -96,6 +97,7 @@ ExternalToolsPage::ExternalToolsPage()
lineEdit->setPlaceholderText("custom-player-scheme://"); lineEdit->setPlaceholderText("custom-player-scheme://");
groupLayout->addRow("Custom stream player URI Scheme:", lineEdit); groupLayout->addRow("Custom stream player URI Scheme:", lineEdit);
} }
layout->addSpacing(16);
{ {
auto group = layout.emplace<QGroupBox>("Image Uploader"); auto group = layout.emplace<QGroupBox>("Image Uploader");
+3 -3
View File
@@ -214,9 +214,9 @@ Split::Split(QWidget *parent)
QMessageBox msgBox; QMessageBox msgBox;
msgBox.setText("Image upload"); msgBox.setText("Image upload");
msgBox.setInformativeText( msgBox.setInformativeText(
"You are uploading an image to an external server. You may " "You are uploading an image to a 3rd party service not in "
"not be able to remove the image from the site. Are you " "control of the chatterino team. You may not be able to "
"okay with this?"); "remove the image from the site. Are you okay with this?");
msgBox.addButton(QMessageBox::Cancel); msgBox.addButton(QMessageBox::Cancel);
msgBox.addButton(QMessageBox::Yes); msgBox.addButton(QMessageBox::Yes);
msgBox.addButton("Yes, don't ask again", QMessageBox::YesRole); msgBox.addButton("Yes, don't ask again", QMessageBox::YesRole);