Add destructor to QPlatformFontDatabase.
Virtual functions deserve a virtual dtor. Change-Id: I71b7ae3b7fb0aa1553a37a90dce6270740d49e32 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
parent
cb9b7ceffb
commit
a730a2b196
@ -232,6 +232,13 @@ bool QSupportedWritingSystems::supported(QFontDatabase::WritingSystem writingSys
|
||||
|
||||
*/
|
||||
|
||||
/*!
|
||||
\internal
|
||||
*/
|
||||
QPlatformFontDatabase::~QPlatformFontDatabase()
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
This function is called once at startup by Qt's internal font database.
|
||||
Reimplement this function in a subclass for a convenient place to initialize
|
||||
|
@ -87,6 +87,7 @@ class QFontRequestPrivate;
|
||||
class Q_GUI_EXPORT QPlatformFontDatabase
|
||||
{
|
||||
public:
|
||||
virtual ~QPlatformFontDatabase();
|
||||
virtual void populateFontDatabase();
|
||||
virtual QFontEngine *fontEngine(const QFontDef &fontDef, QUnicodeTables::Script script, void *handle);
|
||||
virtual QStringList fallbacksForFamily(const QString family, const QFont::Style &style, const QFont::StyleHint &styleHint, const QUnicodeTables::Script &script) const;
|
||||
|
Loading…
Reference in New Issue
Block a user