fix
This commit is contained in:
parent
4393a4e48e
commit
33801699ad
@ -21,7 +21,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
#include <QQuickWindow>
|
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QToolButton>
|
#include <QToolButton>
|
||||||
|
|
||||||
@ -230,9 +229,9 @@ int TabWidget::addEmptyBrowser() {
|
|||||||
|
|
||||||
#if defined(ENABLE_MEDIAPLAYER)
|
#if defined(ENABLE_MEDIAPLAYER)
|
||||||
int TabWidget::addMediaPlayer(const QString& url, bool make_active) {
|
int TabWidget::addMediaPlayer(const QString& url, bool make_active) {
|
||||||
#if defined(ENABLE_MEDIAPLAYER_LIBMPV)
|
// #if defined(ENABLE_MEDIAPLAYER_LIBMPV)
|
||||||
QQuickWindow::setGraphicsApi(QSGRendererInterface::GraphicsApi::OpenGL);
|
// QQuickWindow::setGraphicsApi(QSGRendererInterface::GraphicsApi::OpenGL);
|
||||||
#endif
|
// #endif
|
||||||
|
|
||||||
auto* player = new MediaPlayer(this);
|
auto* player = new MediaPlayer(this);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user