summaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/downloadfromdcthread.cpp')
-rw-r--r--core/downloadfromdcthread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp
index 44120894e..a93bba7ab 100644
--- a/core/downloadfromdcthread.cpp
+++ b/core/downloadfromdcthread.cpp
@@ -18,7 +18,7 @@ static QString str_error(const char *fmt, ...)
{
va_list args;
va_start(args, fmt);
- const QString str = QString().vsprintf(fmt, args);
+ const QString str = QString().vasprintf(fmt, args);
va_end(args);
return str;