diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-10-04 22:16:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-04 22:16:39 +0200 |
| commit | e427dbae55c77276288cdc8105604885a4b3309c (patch) | |
| tree | 48c57873e62597ee005e60690e669f32833baa25 /src/downloadmanager.cpp | |
| parent | 73541c9bb45366f648ba2a9c430ca7b526a8a6a2 (diff) | |
| parent | c4dd23abb7a37531040d6348c491dc868919013c (diff) | |
Merge pull request #847 from isanae/file-renamer-errors
FileRenamer error messages
Diffstat (limited to 'src/downloadmanager.cpp')
| -rw-r--r-- | src/downloadmanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp index 35f60d7a..b4a7b57d 100644 --- a/src/downloadmanager.cpp +++ b/src/downloadmanager.cpp @@ -1059,11 +1059,11 @@ void DownloadManager::openFile(int index) QDir path = QDir(m_OutputDirectory); if (path.exists(getFileName(index))) { - shell::OpenFile(getFilePath(index)); + shell::Open(getFilePath(index)); return; } - shell::ExploreFile(m_OutputDirectory); + shell::Explore(m_OutputDirectory); return; } @@ -1077,18 +1077,18 @@ void DownloadManager::openInDownloadsFolder(int index) const auto path = getFilePath(index); if (QFile::exists(path)) { - shell::ExploreFile(path); + shell::Explore(path); return; } else { const auto unfinished = path + ".unfinished"; if (QFile::exists(unfinished)) { - shell::ExploreFile(unfinished); + shell::Explore(unfinished); return; } } - shell::ExploreFile(m_OutputDirectory); + shell::Explore(m_OutputDirectory); } |
