diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-09-03 12:55:42 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-09-03 14:06:15 +0000 |
commit | f3c210b5017006ab10522078a55b4b8c70c442a1 (patch) | |
tree | 7e578b0ec65b0a6160d14e48540eaf721e506726 /src/webengine/plugin/testsupport | |
parent | 8fe1c75a0f04ebcc425136d1956f2a367f6b3c13 (diff) |
Replace QObject::tr
Place translations in a better namespace than 'QObject'
Change-Id: Id691050f2f50eba4f272b52ff36caf7056d017c2
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/webengine/plugin/testsupport')
-rw-r--r-- | src/webengine/plugin/testsupport/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webengine/plugin/testsupport/plugin.cpp b/src/webengine/plugin/testsupport/plugin.cpp index 98a1d3ca6..28001db54 100644 --- a/src/webengine/plugin/testsupport/plugin.cpp +++ b/src/webengine/plugin/testsupport/plugin.cpp @@ -54,7 +54,7 @@ public: qmlRegisterType<QQuickWebEngineTestSupport>(uri, 1, 0, "WebEngineTestSupport"); qmlRegisterUncreatableType<QQuickWebEngineErrorPage>(uri, 1, 0, "WebEngineErrorPage", - QObject::tr("Cannot create a separate instance of WebEngineErrorPage")); + tr("Cannot create a separate instance of WebEngineErrorPage")); } }; |