summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2015-02-17 17:11:54 +0100
committerhjk <hjk@theqtcompany.com>2015-02-18 07:11:38 +0000
commit6d9aa0f46e096c1179731c894d640973c508664f (patch)
tree6600bd28a5634c464a1a44a9563649a54621f5cc
parent030c380444c4f690274f14e190861d94c04a3675 (diff)
downloadqt-creator-6d9aa0f46e096c1179731c894d640973c508664f.tar.gz
Debugger: Remove unneeded code in the protocol implementation
Change-Id: I53ee9300c0355b01c2fb57d527725ae5c6a5ef8f Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
-rw-r--r--src/plugins/debugger/debuggerprotocol.cpp5
-rw-r--r--src/plugins/debugger/debuggerprotocol.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/debugger/debuggerprotocol.cpp b/src/plugins/debugger/debuggerprotocol.cpp
index 5393e89d8f..a82fb84ed8 100644
--- a/src/plugins/debugger/debuggerprotocol.cpp
+++ b/src/plugins/debugger/debuggerprotocol.cpp
@@ -64,11 +64,6 @@ void skipCommas(const char *&from, const char *to)
++from;
}
-QTextStream &operator<<(QTextStream &os, const GdbMi &mi)
-{
- return os << mi.toString();
-}
-
void GdbMi::parseResultOrValue(const char *&from, const char *to)
{
while (from != to && isspace(*from))
diff --git a/src/plugins/debugger/debuggerprotocol.h b/src/plugins/debugger/debuggerprotocol.h
index 5b12fcc6a0..49a0a81514 100644
--- a/src/plugins/debugger/debuggerprotocol.h
+++ b/src/plugins/debugger/debuggerprotocol.h
@@ -31,7 +31,6 @@
#ifndef DEBUGGER_PROTOCOL_H
#define DEBUGGER_PROTOCOL_H
-#include <QVariant>
#include <QTime>
#include <functional>