From ab50a0677e14d1bad12a18f0b0b9f963c8162e78 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Sat, 16 Mar 2013 08:36:10 +0100 Subject: Remove the usage of undefined QFontDatabase::WritingSystem There is no definition for Yi, Tagalog...Braille in QFontDatabase::WritingSystem, see the header file. (cherry picked from commit qtbase b7b858595e6e2d8dcc9debeb45eb8b9b294b9be6) Change-Id: I0d3625c58310d9af680799d20867f04b42845ca9 Reviewed-by: Konstantin Ritt --- src/gui/text/qfontdatabase.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/gui/text/qfontdatabase.cpp b/src/gui/text/qfontdatabase.cpp index 7aa5168..5e971ea 100644 --- a/src/gui/text/qfontdatabase.cpp +++ b/src/gui/text/qfontdatabase.cpp @@ -929,14 +929,6 @@ static const int scriptForWritingSystem[] = { QUnicodeTables::Common, // Japanese QUnicodeTables::Hangul, // Korean QUnicodeTables::Common, // Vietnamese - QUnicodeTables::Common, // Yi - QUnicodeTables::Common, // Tagalog - QUnicodeTables::Common, // Hanunoo - QUnicodeTables::Common, // Buhid - QUnicodeTables::Common, // Tagbanwa - QUnicodeTables::Common, // Limbu - QUnicodeTables::Common, // TaiLe - QUnicodeTables::Common, // Braille QUnicodeTables::Common, // Symbol QUnicodeTables::Ogham, // Ogham QUnicodeTables::Runic, // Runic -- cgit v0.12