desktop
desktop copied to clipboard
Bug with saving configuration?
Managed to get the desktop app for Linux up and running, but whenever anything tries to write to settings it's giving an error which is rather non-specific, it just says 'warning' and gives the path to /settings.xml, which is empty.
I've checked the permissions on the file which seem to be correct. The app seems to work, just doesn't retain any settings on closing.
About this one i'm not sure, I ques you will have to figure-out this one yourself.
Hello! Desktop LHC d'nt read/write, create and saved settings.xml in paths $HOME/ $HOME/.lhc /usr/share/lhc :(
how fix it?
Try to have lhc config in the same path where lhc is installed... I ques it saves data there.
On 24 September 2015 at 11:31, SergeyDjam [email protected] wrote:
how fix it?
— Reply to this email directly or view it on GitHub https://github.com/LiveHelperChat/desktop/issues/6#issuecomment-142856932 .
Sincerely, Remigijus Kiminas
Oh, LSB %{_bindir}/lhc %{_datadir}/lhc ... so it would be right
QString Qmmp::m_configDir; QString Qmmp::m_langID;
const QString Qmmp::configFile() { return configDir() + "qmmprc"; }
const QString Qmmp::configDir() { return m_configDir.isEmpty() ? QDir::homePath() +"/.qmmp/" : m_configDir; }
void Qmmp::setConfigDir(const QString &path) { m_configDir = path; if(!m_configDir.endsWith('/')) m_configDir.append('/'); }
qmmp/qmmp.cpp
Exapmle in qmmp...
May be can use it?