Commit 2483b434 authored by Scott Wheeler's avatar Scott Wheeler

Forgot to actually add the variable name a few times.

svn path=/trunk/kdemultimedia/juk/; revision=219291
parent 82bc7c71
......@@ -145,7 +145,7 @@ Playlist::SharedSettings::SharedSettings()
{
KConfig *config = kapp->config();
{
KConfigGroupSaver(config, "PlaylistShared");
KConfigGroupSaver saver(config, "PlaylistShared");
// save column order
m_columnOrder = config->readIntListEntry("ColumnOrder");
......@@ -172,7 +172,7 @@ void Playlist::SharedSettings::writeConfig()
KConfig *config = kapp->config();
{
KConfigGroupSaver(config, "PlaylistShared");
KConfigGroupSaver saver(config, "PlaylistShared");
config->writeEntry("ColumnOrder", m_columnOrder);
QValueList<int> l;
......
......@@ -96,7 +96,7 @@ QString FileNameScheme::composeRegExp(const QString &s) const
KConfig *cfg = kapp->config();
{
KConfigGroupSaver(cfg, "TagGuesser");
KConfigGroupSaver saver(cfg, "TagGuesser");
substitutions[ 't' ] = cfg->readEntry("Title regexp", "([\\w\\s'&]+)");
substitutions[ 'a' ] = cfg->readEntry("Artist regexp", "([\\w\\s'&]+)");
......@@ -126,7 +126,7 @@ QStringList TagGuesser::schemeStrings()
KConfig *cfg = kapp->config();
{
KConfigGroupSaver(cfg, "TagGuesser");
KConfigGroupSaver saver(cfg, "TagGuesser");
schemes = cfg->readListEntry( "Filename schemes" );
}
if ( schemes.isEmpty() ) {
......@@ -165,7 +165,7 @@ void TagGuesser::setSchemeStrings(const QStringList &schemes)
{
KConfig *cfg = kapp->config();
{
KConfigGroupSaver(cfg, "TagGuesser");
KConfigGroupSaver saver(cfg, "TagGuesser");
cfg->writeEntry("Filename schemes", schemes);
}
cfg->sync();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment