Commit 525a9f6a authored by Christian Kandeler's avatar Christian Kandeler Committed by Jarek Kobus
Browse files

Diff editor autotest: Fix compilation with namespaced Qt.



Change-Id: I2effb0c94c9590e57c5d49ed285640dcd3a95727
Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@digia.com>
parent eecacbfb
......@@ -41,6 +41,7 @@ Q_DECLARE_METATYPE(QList<DiffEditor::Diff>);
using namespace DiffEditor;
QT_BEGIN_NAMESPACE
namespace QTest {
template<>
char *toString(const Diff &diff)
......@@ -64,6 +65,7 @@ namespace QTest {
return qstrdup(ba.data());
}
}
QT_END_NAMESPACE
class tst_Differ: public QObject
......
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