fix
This commit is contained in:
parent
4393a4e48e
commit
33801699ad
1 changed files with 3 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue