forked from qt-creator/qt-creator
debugger: show something when editing
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user