mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-28 01:59:24 +01:00
Using setenv is better
This commit is contained in:
parent
45cdfb7b54
commit
e358350309
@ -118,8 +118,7 @@ XineEngine::init()
|
||||
qDebug() << "'Bringing joy to small mexican gerbils, a few weeks at a time.'";
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
putenv(QString("XINE_PLUGIN_PATH=" +
|
||||
QCoreApplication::applicationDirPath() + "/xine/plugins").toAscii().constData());
|
||||
setenv("XINE_PLUGIN_PATH", QString(QCoreApplication::applicationDirPath() + "/xine/plugins").toAscii().constData(), 1);
|
||||
#endif // Q_OS_WIN32
|
||||
|
||||
#ifdef Q_OS_DARWIN
|
||||
|
Loading…
x
Reference in New Issue
Block a user