Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CrashReporter: Fix compile error with older Qt versions.

  • Loading branch information...
commit 5bb698c86b2378248d17294666782d682232eb1d 1 parent 43cd2ab
@dscharrer dscharrer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tools/crashreporter/ErrorReport.cpp
View
2  tools/crashreporter/ErrorReport.cpp
@@ -176,7 +176,7 @@ static QString getOutputOf(const char * command) {
QByteArray result;
while(!feof(pipe)) {
if(size_t count = fread(buffer, 1, ARRAY_SIZE(buffer), pipe)) {
- result.append(buffer, count);
+ result.append(QByteArray(buffer, count));
}
}
pclose(pipe);

0 comments on commit 5bb698c

Please sign in to comment.
Something went wrong with that request. Please try again.