Skip to content
Snippets Groups Projects
Verified Commit 3e958ea3 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix setting emoji font

parent 7d2fe812
No related branches found
No related tags found
No related merge requests found
Pipeline #2623 failed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment