Clarify "Custom stream player" functionality (#1889)
* Clarify "Custom stream player" functionality * Remove idiotic idiot proofing
This commit is contained in:
@@ -77,20 +77,24 @@ ExternalToolsPage::ExternalToolsPage()
|
||||
}
|
||||
|
||||
{
|
||||
auto group = layout.emplace<QGroupBox>("Custom URI Scheme");
|
||||
auto group = layout.emplace<QGroupBox>("Custom stream player");
|
||||
auto groupLayout = group.setLayoutType<QFormLayout>();
|
||||
|
||||
const auto description = new QLabel(
|
||||
"You can open video streams directly in any video player that "
|
||||
"You can open Twitch streams directly in any video player that "
|
||||
"has built-in Twitch support and has own URI Scheme.\nE.g.: "
|
||||
"IINA for macOS and Potplayer (with extension) for Windows.");
|
||||
"IINA for macOS and Potplayer (with extension) for "
|
||||
"Windows.\n\nWith this value set, you will get the option to "
|
||||
"\"Open in custom player\" when "
|
||||
"right-clicking a channel header.");
|
||||
description->setWordWrap(true);
|
||||
description->setStyleSheet("color: #bbb");
|
||||
|
||||
groupLayout->setWidget(0, QFormLayout::SpanningRole, description);
|
||||
|
||||
groupLayout->addRow("URI Scheme:", this->createLineEdit(
|
||||
getSettings()->customURIScheme));
|
||||
auto lineEdit = this->createLineEdit(getSettings()->customURIScheme);
|
||||
lineEdit->setPlaceholderText("custom-player-scheme://");
|
||||
groupLayout->addRow("Custom stream player URI Scheme:", lineEdit);
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user