From f7255b7b495457c169a2f83ffac19c2db0c58473 Mon Sep 17 00:00:00 2001 From: redsky17 Date: Sat, 26 Jan 2019 21:02:22 +0000 Subject: Restore Emoji Picker, but remove forcing EmojiOne Restored the emoji picker, but it now falls back to the system instead of forcing Emoji One. The allows users to user the picker for convenience, but doesn't enforce the emoji style on them. --- src/emoji/ItemDelegate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emoji') diff --git a/src/emoji/ItemDelegate.cpp b/src/emoji/ItemDelegate.cpp index 50a1b7ed..b79ae0fc 100644 --- a/src/emoji/ItemDelegate.cpp +++ b/src/emoji/ItemDelegate.cpp @@ -41,8 +41,8 @@ ItemDelegate::paint(QPainter *painter, auto emoji = index.data(Qt::UserRole).toString(); - QFont font("Emoji One"); - + // QFont font("Emoji One"); + QFont font; painter->setFont(font); painter->drawText(viewOption.rect, Qt::AlignCenter, emoji); } -- cgit 1.4.1