Commit 7a443ace authored by Christian Kandeler's avatar Christian Kandeler

CppEditor: Fix build with namespaced Qt.

Change-Id: I30f872a57982c4de9fedec9c9e845bcf1fd0252b
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent 9351b1ce
......@@ -77,6 +77,7 @@ inline bool operator==(const OverrideItem &lhs, const OverrideItem &rhs)
return lhs.text == rhs.text && lhs.line == rhs.line;
}
QT_BEGIN_NAMESPACE
namespace QTest {
template<> char *toString(const OverrideItem &data)
{
......@@ -86,6 +87,7 @@ template<> char *toString(const OverrideItem &data)
return qstrdup(ba.data());
}
}
QT_END_NAMESPACE
namespace {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment