forked from qt-creator/qt-creator
Locator: Compile with QT_NO_CAST_FROM_ASCII.
Change-Id: I7b4b5e25aba9f2de9cbfde0f4553685cd4e01346 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -163,8 +163,10 @@ private:
|
||||
{
|
||||
QString text;
|
||||
foreach (QFutureWatcher<R> *watcher, watchers) {
|
||||
if (!watcher->progressText().isEmpty())
|
||||
text += watcher->progressText() + "\n";
|
||||
if (!watcher->progressText().isEmpty()) {
|
||||
text += watcher->progressText();
|
||||
text += QLatin1Char('\n');
|
||||
}
|
||||
}
|
||||
text = text.trimmed();
|
||||
futureInterface.setProgressValueAndText(futureInterface.progressValue(), text);
|
||||
|
||||
Reference in New Issue
Block a user