Commit 87c515d1 authored by hjk's avatar hjk Committed by hjk

debugger: show something when editing

(cherry picked from commit 752066d0)

Change-Id: If24dfee05b8039b1f091e8f88e8d59155f2bd7dx
Reviewed-on: http://codereview.qt.nokia.com/389Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 1a5df408
......@@ -441,7 +441,7 @@ static inline QVariant editValue(const WatchData &d)
break;
}
// Replace newlines, which will cause line edit troubles.
QString stringValue;
QString stringValue = d.value;
stringValue.replace(QLatin1String("\n"), QLatin1String("\\n"));
return QVariant(stringValue);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment