[Scummvm-git-logs] scummvm master -> e14e571ec10328b4783046d94c9d5033fbd28d42
eriktorbjorn
noreply at scummvm.org
Sat Feb 10 09:44:12 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e14e571ec1 GUI: Hopefully fix download dialog regression
Commit: e14e571ec10328b4783046d94c9d5033fbd28d42
https://github.com/scummvm/scummvm/commit/e14e571ec10328b4783046d94c9d5033fbd28d42
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2024-02-10T10:43:04+01:00
Commit Message:
GUI: Hopefully fix download dialog regression
I don't know how to test this, but appendComponent() returns a new path,
so use that instead of assuming it added things to the existing path. I
discussed this with lephilousophe before committing.
Changed paths:
gui/downloaddialog.cpp
diff --git a/gui/downloaddialog.cpp b/gui/downloaddialog.cpp
index e42853721d2..540cd58c7e4 100644
--- a/gui/downloaddialog.cpp
+++ b/gui/downloaddialog.cpp
@@ -160,7 +160,7 @@ bool DownloadDialog::selectDirectories() {
//make a local path
Common::Path localPath = dir.getPath();
- localPath.appendComponent(remoteDirectory.name());
+ localPath = localPath.appendComponent(remoteDirectory.name());
CloudMan.startDownload(remoteDirectory.path(), localPath);
CloudMan.setDownloadTarget(this);
More information about the Scummvm-git-logs
mailing list