summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorgeorge99g <georgi_99g@abv.bg>2017-07-04 23:40:41 +0300
committermujx <mujx@users.noreply.github.com>2017-07-04 23:40:41 +0300
commit03437cc6935e4d5812fc17aee1e3f79dcdc6bc92 (patch)
tree5fc2f85766d1a36401c868f58069944490690970 /src
parentSlow down spinner (diff)
downloadnheko-03437cc6935e4d5812fc17aee1e3f79dcdc6bc92.tar.xz
Fix emoji alignment issue (#43)
Diffstat (limited to 'src')
-rw-r--r--src/EmojiItemDelegate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EmojiItemDelegate.cc b/src/EmojiItemDelegate.cc

index 13c43b3e..b17a7315 100644 --- a/src/EmojiItemDelegate.cc +++ b/src/EmojiItemDelegate.cc
@@ -43,5 +43,5 @@ void EmojiItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opt font.setPixelSize(19); painter->setFont(font); - painter->drawText(viewOption.rect, emoji); + painter->drawText(viewOption.rect, Qt::AlignCenter, emoji); }