diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-09-02 14:52:02 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-09-02 14:52:02 -0400 |
| commit | e9dba260cb9548dd5863ac66da18c295f6499b92 (patch) | |
| tree | 8471d5fe53389dd8aebfb0cc57fcca014bcd4d70 /src/filedialogmemory.cpp | |
| parent | ec3fb7b3509fb10a8a1392740e209509ae6c092c (diff) | |
split settings into a bunch of classes
removed "get" from the getters that had it
Diffstat (limited to 'src/filedialogmemory.cpp')
| -rw-r--r-- | src/filedialogmemory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filedialogmemory.cpp b/src/filedialogmemory.cpp index 96587ac7..8cfeb6b5 100644 --- a/src/filedialogmemory.cpp +++ b/src/filedialogmemory.cpp @@ -25,12 +25,12 @@ static std::map<QString, QString> g_Cache; void FileDialogMemory::save(Settings& s)
{
- s.setRecentDirectories(g_Cache);
+ s.paths().setRecent(g_Cache);
}
void FileDialogMemory::restore(const Settings& s)
{
- g_Cache = s.getRecentDirectories();
+ g_Cache = s.paths().recent();
}
QString FileDialogMemory::getOpenFileName(
|
