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