Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/windirstat.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves-Marie Blaevoet <none@none>2017-01-12 19:50:45 +0300
committerYves-Marie Blaevoet <none@none>2017-01-12 19:50:45 +0300
commitb8f455f7e080670e714806bcf170e086fa481749 (patch)
treef81dd0fad4f5b14a25b93694a2a639c1e1ba62a2
parentf4675584f2c01ca23288a6bc0367ec6a7cf89439 (diff)
- Re-enable options saving
-rw-r--r--windirstat/options.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/windirstat/options.cpp b/windirstat/options.cpp
index e115a1c..b5cefe7 100644
--- a/windirstat/options.cpp
+++ b/windirstat/options.cpp
@@ -879,9 +879,9 @@ void COptions::SetReportSuffix(LPCTSTR suffix)
void COptions::SaveToRegistry()
{
int i = 0;
- getProfileBool(sectionOptions, entryListGrid, m_listGrid);
- getProfileBool(sectionOptions, entryListStripes, m_listStripes);
- getProfileBool(sectionOptions, entryListFullRowSelection, m_listFullRowSelection);
+ setProfileBool(sectionOptions, entryListGrid, m_listGrid);
+ setProfileBool(sectionOptions, entryListStripes, m_listStripes);
+ setProfileBool(sectionOptions, entryListFullRowSelection, m_listFullRowSelection);
setProfileInt(sectionOptions, entryTreelistColorCount, m_treelistColorCount);
for(i = 0; i < TREELISTCOLORCOUNT; i++)
@@ -890,17 +890,17 @@ void COptions::SaveToRegistry()
entry.Format(entryTreelistColorN, i);
setProfileInt(sectionOptions, entry, m_treelistColor[i]);
}
- getProfileBool(sectionOptions, entryHumanFormat, m_humanFormat);
+ setProfileBool(sectionOptions, entryHumanFormat, m_humanFormat);
setProfileBool(sectionOptions, entrySkipHidden, m_skipHidden);
- getProfileBool(sectionOptions, entryPacmanAnimation, m_pacmanAnimation);
- getProfileBool(sectionOptions, entryShowTimeSpent, m_showTimeSpent);
+ setProfileBool(sectionOptions, entryPacmanAnimation, m_pacmanAnimation);
+ setProfileBool(sectionOptions, entryShowTimeSpent, m_showTimeSpent);
setProfileInt(sectionOptions, entryTreemapHighlightColor, m_treemapHighlightColor);
SaveTreemapOptions();
getProfileBool(sectionOptions, entryFollowMountPoints, m_followMountPoints);
getProfileBool(sectionOptions, entryFollowJunctionPoints, m_followJunctionPoints);
- getProfileBool(sectionOptions, entryUseWdsLocale, m_useWdsLocale);
+ setProfileBool(sectionOptions, entryUseWdsLocale, m_useWdsLocale);
for(i = 0; i < USERDEFINEDCLEANUPCOUNT; i++)
{