Fix setting emoji font

pull/939/head
Nicolas Werner 3 years ago
parent 7d2fe812a2
commit 3e958ea382
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 4
      src/UserSettingsPage.cpp

@ -1499,8 +1499,8 @@ UserSettingsModel::setData(const QModelIndex &index, const QVariant &value, int
return false;
}
case EmojiFont: {
if (value.userType() == QMetaType::QString) {
i->setFontFamily(
if (value.userType() == QMetaType::Int) {
i->setEmojiFontFamily(
fontDb.families(QFontDatabase::WritingSystem::Symbol).at(value.toInt()));
return true;
} else

Loading…
Cancel
Save