diff options
| author | Jeremy Rimpo <jrim@rimpo.org> | 2019-07-09 00:05:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-09 00:05:53 -0500 |
| commit | 0b2f12f90ef8bbe853b962dfa945fa63e4cedc23 (patch) | |
| tree | 2dd5ad76deab41fd263bcdc04292f5789bceb5e4 /src/filedialogmemory.cpp | |
| parent | 4bfb1a0d7666cbde7b10f59feaccde0af723a9e1 (diff) | |
| parent | f0c5f6f67298f4009bfb0b1804c6c620d42577e1 (diff) | |
Merge pull request #792 from isanae/small-fixes
Small fixes
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 554a6235..0e3e9793 100644 --- a/src/filedialogmemory.cpp +++ b/src/filedialogmemory.cpp @@ -66,7 +66,7 @@ QString FileDialogMemory::getOpenFileName( if (currentDir.isEmpty()) {
auto itor = instance().m_Cache.find(dirID);
if (itor != instance().m_Cache.end()) {
- currentDir = itor->first;
+ currentDir = itor->second;
}
}
@@ -90,7 +90,7 @@ QString FileDialogMemory::getExistingDirectory( if (currentDir.isEmpty()) {
auto itor = instance().m_Cache.find(dirID);
if (itor != instance().m_Cache.end()) {
- currentDir = itor->first;
+ currentDir = itor->second;
}
}
|
