From 8d3ca6424cdfea8ab7aceaf00e9207e5c0aaeeb3 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 21 Oct 2009 16:50:00 +0200 Subject: [PATCH] if 0 unused code --- src/plugins/debugger/gdb/gdbengine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index d635f30af0f..0b13b681dbe 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -1267,6 +1267,7 @@ void GdbEngine::handleShowVersion(const GdbResponse &response) QRegExp supported(_("GNU gdb(.*) (\\d+)\\.(\\d+)(\\.(\\d+))?(-(\\d+))?")); if (supported.indexIn(msg) == -1) { debugMessage(_("UNSUPPORTED GDB VERSION ") + msg); +#if 0 QStringList list = msg.split(_c('\n')); while (list.size() > 2) list.removeLast(); @@ -1282,6 +1283,7 @@ void GdbEngine::handleShowVersion(const GdbResponse &response) err->showMessage(msg); #else //showMessageBox(QMessageBox::Information, tr("Warning"), msg); +#endif #endif } else { m_gdbVersion = 10000 * supported.cap(2).toInt()