diff options
author | hjk <qtc-committer@nokia.com> | 2011-05-17 16:47:10 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-06-08 16:30:59 +0200 |
commit | 87c515d1a39a886b75fb5a4a0263449b152e830f (patch) | |
tree | 1732a8221accd5417a319e192779c919dea02599 | |
parent | 1a5df408836875a7f867411145a377d9a7bc9b16 (diff) | |
download | qt-creator-87c515d1a39a886b75fb5a4a0263449b152e830f.tar.gz |
debugger: show something when editing
(cherry picked from commit 752066d0431566447220958945bebd9ba81bed66)
Change-Id: If24dfee05b8039b1f091e8f88e8d59155f2bd7dx
Reviewed-on: http://codereview.qt.nokia.com/389
Reviewed-by: hjk <qthjk@ovi.com>
-rw-r--r-- | src/plugins/debugger/watchhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index ea135f2216..996cee7ccf 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -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); } |