aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/FileSystem.h')
-rw-r--r--launcher/FileSystem.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/launcher/FileSystem.h b/launcher/FileSystem.h
index 85e2cbe0..bfed576c 100644
--- a/launcher/FileSystem.h
+++ b/launcher/FileSystem.h
@@ -112,8 +112,8 @@ class copy : public QObject {
bool operator()(bool dryRun = false) { return operator()(QString(), dryRun); }
- int totalCopied() { return m_copied; }
- int totalFailed() { return m_failedPaths.length(); }
+ qsizetype totalCopied() { return m_copied; }
+ qsizetype totalFailed() { return m_failedPaths.length(); }
QStringList failed() { return m_failedPaths; }
signals:
@@ -130,7 +130,7 @@ class copy : public QObject {
bool m_whitelist = false;
QDir m_src;
QDir m_dst;
- int m_copied;
+ qsizetype m_copied;
QStringList m_failedPaths;
};
@@ -474,8 +474,8 @@ class clone : public QObject {
bool operator()(bool dryRun = false) { return operator()(QString(), dryRun); }
- int totalCloned() { return m_cloned; }
- int totalFailed() { return m_failedClones.length(); }
+ qsizetype totalCloned() { return m_cloned; }
+ qsizetype totalFailed() { return m_failedClones.length(); }
QList<QPair<QString, QString>> failed() { return m_failedClones; }
@@ -491,7 +491,7 @@ class clone : public QObject {
bool m_whitelist = false;
QDir m_src;
QDir m_dst;
- int m_cloned;
+ qsizetype m_cloned;
QList<QPair<QString, QString>> m_failedClones;
};