Commit 1cafd3d9 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

fix config loading

vlc by default for some reason refuses to load configuration options, so
tell it not to ignore the configuration when we are using our own vlc.conf.

Thanks to Ivan Chernyavsky for pointing this out.

BUG: 311701
CCMAIL: camposer@yandex.ru
parent 11ea26ac
......@@ -71,6 +71,7 @@ bool LibVLC::init()
const QString configFileName = QSettings("Phonon", "vlc").fileName();
if (QFile::exists(configFileName)) {
args << QByteArray("--config=").append(QFile::encodeName(configFileName));
args << "--no-ignore-config";
}
int debugLevel = qgetenv("PHONON_SUBSYSTEM_DEBUG").toInt();
......
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