1 diff -aur phonon-mplayer/mplayer/libmplayer/MPlayerConfig.cpp phonon-mplayer2/mplayer/libmplayer/MPlayerConfig.cpp
2 --- phonon-mplayer/mplayer/libmplayer/MPlayerConfig.cpp 2011-11-24 18:06:31.105227140 -0800
3 +++ phonon-mplayer2/mplayer/libmplayer/MPlayerConfig.cpp 2011-11-24 18:17:02.000000000 -0800
5 //Under Windows, config file should be inside a subdirectory named mplayer/mplayer
6 QString defaultMPlayerConfigPath = "mplayer/mplayer/config";
8 - QString defaultMPlayerConfigPath = "~/.mplayer/config";
9 + QString defaultMPlayerConfigPath = QDir::homePath()+"/.mplayer/config";
12 return _settings.value("mplayer_config_path", defaultMPlayerConfigPath).toString();
13 diff -aur phonon-mplayer/mplayer/libmplayer/MPlayerConfig.h phonon-mplayer2/mplayer/libmplayer/MPlayerConfig.h
14 --- phonon-mplayer/mplayer/libmplayer/MPlayerConfig.h 2011-11-24 18:06:31.105227140 -0800
15 +++ phonon-mplayer2/mplayer/libmplayer/MPlayerConfig.h 2011-11-24 18:18:05.000000000 -0800
18 #include <QtCore/QString>
19 #include <QtCore/QSettings>
20 +#include <QtCore/QDir>