summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@theqtcompany.com>2016-01-21 12:51:37 +0100
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2016-01-21 13:55:35 +0000
commit22a0f6b682fb8ef74e11f0e7a2ffac7c8f12222b (patch)
tree1713dfb077c902d11e2def566d3688b844c3d2c0 /tests/auto
parent5abd497a56efde2dc8f4d2e9079f677cff80cc13 (diff)
Fix compile with namespace'ed Qt.
Change-Id: I9c0d399943d2f6eb9a0ab136abf24a5c8b108abb Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp b/tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp
index 75df29949..d032b973f 100644
--- a/tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp
+++ b/tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp
@@ -12,15 +12,6 @@
using namespace QInstaller;
-namespace QTest {
- template<>
- char *toString(const QMessageBox::StandardButton &button)
- {
- QString buttonAsString(QString::number(button));
- return qstrdup(buttonAsString.toLatin1().data());
- }
-}
-
class tst_MessageBoxHandler : public QObject
{
Q_OBJECT