This reverts commit
addffb71b45b5123ee449f0cfa4891dcab044a9f.
The fix causes crashes on exit in Qt Declarative.
Change-Id: Ib1fc67c27fb1869b7824ba080083da67b8878fff
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
clearFontUnlocked();
+ QFont::cleanup();
+
#ifndef QT_NO_CURSOR
QCursorData::cleanup();
#endif
layout_direction = Qt::LeftToRight;
+ cleanupThreadData();
+
delete styleHints;
delete inputMethod;
delete platform_integration;
platform_integration = 0;
delete m_gammaTables.load();
-
- QFont::cleanup();
-
- cleanupThreadData();
}
#if 0