From 37fafcabb23eea4fc22d3f54f714bf0ced297b94 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Mon, 2 Jan 2023 13:53:17 +0100 Subject: [PATCH] SymbolSearcherTestCase: Remove unused toString() Change-Id: I2bfca6f112a59008d75f38d6941f6d084aad1491 Reviewed-by: Christian Kandeler Reviewed-by: Qt CI Bot Reviewed-by: --- src/plugins/cppeditor/symbolsearcher_test.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/plugins/cppeditor/symbolsearcher_test.cpp b/src/plugins/cppeditor/symbolsearcher_test.cpp index 7f2e541a639..b969c0a30bd 100644 --- a/src/plugins/cppeditor/symbolsearcher_test.cpp +++ b/src/plugins/cppeditor/symbolsearcher_test.cpp @@ -62,18 +62,6 @@ public: Q_DECLARE_METATYPE(ResultData) -QT_BEGIN_NAMESPACE -namespace QTest { - -template<> char *toString(const ResultData &data) -{ - QByteArray ba = "\"" + data.m_symbolName.toUtf8() + "\", \"" + data.m_scope.toUtf8() + "\""; - return qstrdup(ba.data()); -} - -} // namespace QTest -QT_END_NAMESPACE - namespace CppEditor::Internal { namespace {