this better compile
This commit is contained in:
@@ -150,14 +150,7 @@ void OpenStreamlink(const QString &channelURL, const QString &quality, QStringLi
|
||||
arguments << quality;
|
||||
}
|
||||
|
||||
/*
|
||||
// This only works in Qt 5.10 and above
|
||||
auto p = createStreamlinkProcess();
|
||||
p->setArguments(arguments);
|
||||
bool res = p->startDetached();
|
||||
*/
|
||||
|
||||
bool res = QProcess::startDetached(getStreamlinkProgram(), arguments);
|
||||
bool res = QProcess::startDetached(getStreamlinkProgram() + " " + QString(arguments.join(' ')));
|
||||
|
||||
if (!res) {
|
||||
showStreamlinkNotFoundError();
|
||||
|
||||
@@ -129,11 +129,11 @@ Split::Split(QWidget *parent)
|
||||
this->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
|
||||
|
||||
this->managedConnect(altPressedStatusChanged, [this](bool status) {
|
||||
if (status && this->isMouseOver) {
|
||||
this->overlay->show();
|
||||
} else {
|
||||
this->overlay->hide();
|
||||
}
|
||||
// if (status && this->isMouseOver) {
|
||||
// this->overlay->show();
|
||||
// } else {
|
||||
// this->overlay->hide();
|
||||
// }
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user