Skip to content
This repository has been archived by the owner on Dec 17, 2017. It is now read-only.

Commit

Permalink
In RazorSettingsCache: cache -> mCache.
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Płaza <plaza.maciej@gmail.com>
  • Loading branch information
Kermit committed Jul 1, 2011
1 parent 2fe38fe commit d7c1c3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions librazorqt/razorqt/razorsettings.cpp
Expand Up @@ -305,15 +305,15 @@ void RazorSettingsCache::loadFromSettings()
{
foreach (QString key, mSettings.allKeys())
{
cache.insert(key, mSettings.value(key));
mCache.insert(key, mSettings.value(key));
}
}

void RazorSettingsCache::loadToSettings()
{
QHash<QString, QVariant>::const_iterator i = cache.constBegin();
QHash<QString, QVariant>::const_iterator i = mCache.constBegin();

while(i != cache.constEnd())
while(i != mCache.constEnd())
{
mSettings.setValue(i.key(), i.value());
++i;
Expand Down
2 changes: 1 addition & 1 deletion librazorqt/razorqt/razorsettings.h
Expand Up @@ -114,7 +114,7 @@ class RazorSettingsCache

private:
QSettings &mSettings;
QHash<QString, QVariant> cache;
QHash<QString, QVariant> mCache;
};


Expand Down

0 comments on commit d7c1c3a

Please sign in to comment.