aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-11-21 15:47:15 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-11-21 15:47:15 +0100
commit4208c2c72a160896f63f44148c74cf24fc30d4b9 (patch)
treeb0e6eefdf44f2b05994028da8abed4cd97f0be93
parent5cc91965d09070437af8c17113c5740401b127dd (diff)
downloadPrismLauncher-4208c2c72a160896f63f44148c74cf24fc30d4b9.tar.gz
PrismLauncher-4208c2c72a160896f63f44148c74cf24fc30d4b9.tar.bz2
PrismLauncher-4208c2c72a160896f63f44148c74cf24fc30d4b9.zip
fix: actually emit fileCopied
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
-rw-r--r--launcher/FileSystem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/FileSystem.cpp b/launcher/FileSystem.cpp
index 0c6527b1..987f4e74 100644
--- a/launcher/FileSystem.cpp
+++ b/launcher/FileSystem.cpp
@@ -188,6 +188,8 @@ bool copy::operator()(const QString& offset, bool dryRun)
qDebug() << "Source file:" << src_path;
qDebug() << "Destination file:" << dst_path;
}
+ m_copied++;
+ emit fileCopied(relative_dst_path);
};
// We can't use copy_opts::recursive because we need to take into account the