Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 819fae52 authored by Allen Winter's avatar Allen Winter

calendardelegate.cpp - no need to consider layout direction on Elide setting

automatically hanled by Qt.
parent 221aa26f
......@@ -160,7 +160,7 @@ void StyledCalendarDelegate::paint(QPainter *painter, const QStyleOptionViewItem
QStyleOptionViewItem opt = option;
opt.font = QFont(QFontDatabase::systemFont(QFontDatabase::GeneralFont));
opt.textElideMode = QApplication::isRightToLeft() ? Qt::ElideRight : Qt::ElideLeft;
opt.textElideMode = Qt::ElideLeft;
initStyleOption(&opt, index);
QStyledItemDelegate::paint(painter, opt, index);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment