saveOnExit config

This commit is contained in:
craig
2011-12-05 19:37:10 +00:00
parent b4163610a8
commit 9bcde019fb
2 changed files with 12 additions and 0 deletions

View File

@@ -170,6 +170,11 @@ bool Settings::showPopups()
return GET_BOOL("showPopups", false);
}
bool Settings::stopOnExit()
{
return GET_BOOL("stopOnExit", false);
}
QString Settings::mpdDir()
{
QString d=GET_STRING("mpdDir", "/var/lib/mpd/music");
@@ -290,6 +295,11 @@ void Settings::saveShowPopups(bool v)
SET_VALUE("showPopups", v);
}
void Settings::saveStopOnExit(bool v)
{
SET_VALUE("stopOnExit", v);
}
void Settings::saveMpdDir(const QString &v)
{
QString d(v);