summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-05-10 22:57:17 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-05-10 22:57:17 (GMT)
commitcd70183a86f3586eb34c15f11af03746f28f4acc (patch)
tree0e12a74d3486d49720616910aaeed9c815454258
parent35bc65ecf89ccc14f2e949f2d2881e899f7c4165 (diff)
downloadQt-cd70183a86f3586eb34c15f11af03746f28f4acc.zip
Qt-cd70183a86f3586eb34c15f11af03746f28f4acc.tar.gz
Qt-cd70183a86f3586eb34c15f11af03746f28f4acc.tar.bz2
Remove unnecesary check for debug output.
-rw-r--r--tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp b/tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp
index d68b3e3..36908d9 100644
--- a/tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp
+++ b/tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp
@@ -122,9 +122,6 @@ void tst_qdeclarativefontloader::failLocalFont()
{
QString componentStr = "import Qt 4.7\nFontLoader { source: \"" + QUrl::fromLocalFile(SRCDIR "/data/dummy.ttf").toString() + "\" }";
QTest::ignoreMessage(QtWarningMsg, QString("file::2:1: QML FontLoader: Cannot load font: \"" + QUrl::fromLocalFile(SRCDIR "/data/dummy.ttf").toString() + "\"").toUtf8().constData());
-#ifdef Q_WS_QWS
- QTest::ignoreMessage(QtDebugMsg, QString("FT_New_Face failed with index 0 : 2 ").toLatin1());
-#endif
QDeclarativeComponent component(&engine);
component.setData(componentStr.toLatin1(), QUrl::fromLocalFile(""));
QDeclarativeFontLoader *fontObject = qobject_cast<QDeclarativeFontLoader*>(component.create());