branch | RCL_3 |
changeset 7 | 3f74d0d4af4c |
parent 4 | 3b1da2848fc7 |
--- a/tests/auto/qicon/tst_qicon.cpp Mon Mar 15 12:43:09 2010 +0200 +++ b/tests/auto/qicon/tst_qicon.cpp Thu Apr 08 14:19:33 2010 +0300 @@ -86,8 +86,14 @@ private: QString oldCurrentDir; + + const static QIcon staticIcon; }; +// Creating an icon statically should not cause a crash. +// But we do not officially support this. See QTBUG-8666 +const QIcon tst_QIcon::staticIcon = QIcon::fromTheme("edit-find"); + void tst_QIcon::init() { QString srcdir(QLatin1String(SRCDIR));