remove unused code
This commit is contained in:
parent
0edb3ca104
commit
db3c18ce8f
|
@ -472,13 +472,9 @@ bool LibMpvBackend::eventFilter(QObject* watched, QEvent* event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void LibMpvBackend::playUrl(const QUrl& url) {
|
void LibMpvBackend::playUrl(const QUrl& url) {
|
||||||
char* str;
|
|
||||||
|
|
||||||
mpv_get_property(m_mpvHandle, "ytdl_path", MPV_FORMAT_STRING, &str);
|
|
||||||
|
|
||||||
m_url = url;
|
|
||||||
|
|
||||||
if (m_mpvHandle != nullptr) {
|
if (m_mpvHandle != nullptr) {
|
||||||
|
m_url = url;
|
||||||
|
|
||||||
auto eb = url.toString().toLocal8Bit();
|
auto eb = url.toString().toLocal8Bit();
|
||||||
const char* css = eb.data();
|
const char* css = eb.data();
|
||||||
const char* args[] = {"loadfile", css, nullptr};
|
const char* args[] = {"loadfile", css, nullptr};
|
||||||
|
|
Loading…
Reference in New Issue