summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-09-07 11:36:25 +0200
committerNiels Weber <niels.weber@theqtcompany.com>2015-09-07 10:41:58 +0000
commitd3de2b14cbd02e85aa711051a2d6c8d1d18d65ba (patch)
treed50a4badf7433718109310571fb918f2f7d7a52f /tests
parentcab3405ad2b0d269924a93263298304bff8807eb (diff)
Compile with namespaces.
Change-Id: I734b0e27d53fd8b6199a3fb5891497df0e1815bb Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp b/tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp
index 9515848aa..dd127f626 100644
--- a/tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp
+++ b/tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp
@@ -12,6 +12,7 @@
using namespace QInstaller;
+QT_BEGIN_NAMESPACE
namespace QTest {
template<>
char *toString(const QMessageBox::StandardButton &button)
@@ -20,6 +21,7 @@ namespace QTest {
return qstrdup(buttonAsString.toLatin1().data());
}
}
+QT_END_NAMESPACE
class tst_MessageBoxHandler : public QObject
{