Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrotter committed Nov 28, 2023
1 parent 4393a4e commit 3380169
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/librssguard/gui/tabwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#endif

#include <QMenu>
#include <QQuickWindow>
#include <QTimer>
#include <QToolButton>

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 3380169

Please sign in to comment.