diff options
| author | hjk <hjk@theqtcompany.com> | 2016-04-08 00:49:22 +0200 |
|---|---|---|
| committer | hjk <hjk@theqtcompany.com> | 2016-04-12 15:37:28 +0000 |
| commit | be91d50e43b55b41ba2a5590486f6616832d7700 (patch) | |
| tree | 6a41e1d129f0be12f99a081b805aa1523aded61b /src/plugins/debugger/debuggerprotocol.cpp | |
| parent | 76a8e89ec70a3219797322352811a97f717f29d9 (diff) | |
| download | qt-creator-be91d50e43b55b41ba2a5590486f6616832d7700.tar.gz | |
Debugger: Replace DebuggerDisplay enum by strings
Easier to coordinate between dumpers and watchhandler
Change-Id: Ide191a5786dc04ef22c3e9c8b0bec39f8f8c0f1d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'src/plugins/debugger/debuggerprotocol.cpp')
| -rw-r--r-- | src/plugins/debugger/debuggerprotocol.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/plugins/debugger/debuggerprotocol.cpp b/src/plugins/debugger/debuggerprotocol.cpp index 6bfd17f220..b772452b77 100644 --- a/src/plugins/debugger/debuggerprotocol.cpp +++ b/src/plugins/debugger/debuggerprotocol.cpp @@ -877,27 +877,5 @@ QString DebuggerEncoding::toString() const return QString::fromLatin1("%1:%2:%3").arg(type).arg(size).arg(quotes); } -DebuggerDisplay::DebuggerDisplay(const QByteArray &data) -{ - const QByteArrayList l = data.split(':'); - - const QByteArray &t = l.at(0); - if (t == "latin1") { - type = DisplayLatin1String; - } else if (t == "utf8") { - type = DisplayUtf8String; - } else if (t == "utf16") { - type = DisplayUtf16String; - } else if (t == "imagedata") { - type = DisplayImageData; - } else if (t == "imagefile") { - type = DisplayImageFile; - } else if (t == "plot") { - type = DisplayPlotData; - } - if (l.size() > 1 && l.at(1) == "separate") - separate = true; -} - } // namespace Internal } // namespace Debugger |
