mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-13 13:11:41 +00:00
SVN_SILENT reindent correctly
svn path=/trunk/playground/graphics/okular/; revision=616707
This commit is contained in:
parent
b9a2413619
commit
62831ce6b9
|
@ -64,9 +64,9 @@ void PageItemDelegate::drawDisplay( QPainter *painter, const QStyleOptionViewIte
|
|||
pageRect.setWidth( pageRectWidth + 2 * margindelta );
|
||||
newRect.setWidth( newRect.width() - pageRectWidth - PAGEITEMDELEGATE_INTERNALMARGIN );
|
||||
if ( option.direction == Qt::RightToLeft )
|
||||
newRect.translate( pageRectWidth + PAGEITEMDELEGATE_INTERNALMARGIN, 0 );
|
||||
else
|
||||
pageRect.translate( newRect.width() + PAGEITEMDELEGATE_INTERNALMARGIN - 2 * margindelta, 0 );
|
||||
newRect.translate( pageRectWidth + PAGEITEMDELEGATE_INTERNALMARGIN, 0 );
|
||||
else
|
||||
pageRect.translate( newRect.width() + PAGEITEMDELEGATE_INTERNALMARGIN - 2 * margindelta, 0 );
|
||||
QItemDelegate::drawDisplay( painter, option, newRect, text );
|
||||
QStyleOptionViewItemV2 newoption( option );
|
||||
newoption.displayAlignment = ( option.displayAlignment & ~Qt::AlignHorizontal_Mask ) | Qt::AlignRight;
|
||||
|
|
Loading…
Reference in a new issue