desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Bug with saving configuration?

Open RCheesley opened this issue 10 years ago • 6 comments

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.

RCheesley avatar Feb 15 '15 15:02 RCheesley

About this one i'm not sure, I ques you will have to figure-out this one yourself.

remdex avatar Feb 15 '15 15:02 remdex

Hello! Desktop LHC d'nt read/write, create and saved settings.xml in paths $HOME/ $HOME/.lhc /usr/share/lhc :(

SergeyDjam avatar Sep 24 '15 08:09 SergeyDjam

how fix it?

SergeyDjam avatar Sep 24 '15 08:09 SergeyDjam

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

remdex avatar Sep 24 '15 14:09 remdex

Oh, LSB %{_bindir}/lhc %{_datadir}/lhc ... so it would be right

SergeyDjam avatar Sep 24 '15 14:09 SergeyDjam

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?

SergeyDjam avatar Sep 24 '15 14:09 SergeyDjam