diff options
author | Yoann Lopes <yoann.lopes@nokia.com> | 2011-02-02 15:57:39 (GMT) |
---|---|---|
committer | Yoann Lopes <yoann.lopes@nokia.com> | 2011-02-02 15:57:39 (GMT) |
commit | 2fc0d4ca43afb4072e92fd15648285c2c26d9da1 (patch) | |
tree | 097d06bc9ac5512dd9431ad2be1b4eee0c47048d /src/gui/kernel/qapplication_s60.cpp | |
parent | e0a4c25a2276b998bc1514073bbe68d1eefb4345 (diff) | |
parent | cf3420c698a0713bf32a4c18ccd7c145cbf581f3 (diff) | |
download | Qt-2fc0d4ca43afb4072e92fd15648285c2c26d9da1.zip Qt-2fc0d4ca43afb4072e92fd15648285c2c26d9da1.tar.gz Qt-2fc0d4ca43afb4072e92fd15648285c2c26d9da1.tar.bz2 |
Merge branch 'integration'
Conflicts:
src/gui/kernel/qapplication_s60.cpp
src/gui/text/qfontdatabase_s60.cpp
Diffstat (limited to 'src/gui/kernel/qapplication_s60.cpp')
-rw-r--r-- | src/gui/kernel/qapplication_s60.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp index 554baa2..a9f57f4 100644 --- a/src/gui/kernel/qapplication_s60.cpp +++ b/src/gui/kernel/qapplication_s60.cpp @@ -1616,7 +1616,9 @@ void qt_init(QApplicationPrivate * /* priv */, int) qRegisterMetaType<WId>("WId"); } +#ifdef QT_NO_FREETYPE extern void qt_cleanup_symbianFontDatabase(); // qfontdatabase_s60.cpp +#endif /***************************************************************************** qt_cleanup() - cleans up when the application is finished @@ -1633,7 +1635,9 @@ void qt_cleanup() QFontCache::cleanup(); // Has to happen now, since QFontEngineS60 has FBS handles QPixmapCache::clear(); // Has to happen now, since QS60PixmapData has FBS handles +#ifdef QT_NO_FREETYPE qt_cleanup_symbianFontDatabase(); +#endif // S60 structure and window server session are freed in eventdispatcher destructor as they are needed there // It's important that this happens here, before the event dispatcher gets |