debugger: show something when editing

This commit is contained in:
hjk
2011-05-17 16:47:10 +02:00
parent 5810335f55
commit 752066d043

View File

@@ -453,7 +453,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);
}