Commit 5a1b92a4 authored by Pierre Lamot's avatar Pierre Lamot
Browse files

WIP: qml: force embed version

parent 313b1717
......@@ -99,7 +99,7 @@
#include <QTimer>
#include <QtQml/QQmlContext>
#include <QtQuick/QQuickItem>
#include <QQmlFileSelector>
#include <vlc_actions.h> /* Wheel event */
#include <vlc_vout_window.h> /* VOUT_ events */
......@@ -384,7 +384,13 @@ void MainInterface::createMainWidget( QSettings * )
qmlRegisterType<PlayerControlBarModel>( "org.videolan.vlc", 0, 1, "PlayerControlBarModel");
mediacenterView = new QQuickWidget(this);
QQmlEngine* engine = new QQmlEngine(this);
QQmlFileSelector* selector = new QQmlFileSelector(engine);
#if 1
selector->setExtraSelectors({ "embed" });
#endif
mediacenterView = new QQuickWidget(engine, this);
mediacenterView->setClearColor(Qt::transparent);
I18n* i18n = new I18n(this);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment