aboutsummaryrefslogtreecommitdiffstats
path: root/src/utility/progressListener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utility/progressListener.cpp')
-rw-r--r--src/utility/progressListener.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utility/progressListener.cpp b/src/utility/progressListener.cpp
index 4bce3721..ae5a455c 100644
--- a/src/utility/progressListener.cpp
+++ b/src/utility/progressListener.cpp
@@ -31,7 +31,7 @@ namespace utility {
// progressListenerSizeAdapter
progressListenerSizeAdapter::progressListenerSizeAdapter
- (progressListener* list, const int total)
+ (progressListener* list, const long total)
: m_wrapped(list), m_total(total)
{
}
@@ -43,14 +43,14 @@ bool progressListenerSizeAdapter::cancel() const
}
-void progressListenerSizeAdapter::start(const int predictedTotal)
+void progressListenerSizeAdapter::start(const long predictedTotal)
{
if (m_wrapped)
m_wrapped->start(predictedTotal);
}
-void progressListenerSizeAdapter::progress(const int current, const int currentTotal)
+void progressListenerSizeAdapter::progress(const long current, const long currentTotal)
{
if (m_wrapped)
{
@@ -62,7 +62,7 @@ void progressListenerSizeAdapter::progress(const int current, const int currentT
}
-void progressListenerSizeAdapter::stop(const int total)
+void progressListenerSizeAdapter::stop(const long total)
{
if (m_wrapped)
{