mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-17 23:11:48 +00:00
Get rid of the superfluous whitepace to the right of the thumbnail widgets.
svn path=/trunk/KDE/kdegraphics/okular/; revision=746435
This commit is contained in:
parent
6546e208d9
commit
15d9622755
|
@ -429,7 +429,7 @@ void ThumbnailList::viewportResizeEvent( QResizeEvent * e )
|
||||||
delayedRequestVisiblePixmaps( 2000 );
|
delayedRequestVisiblePixmaps( 2000 );
|
||||||
|
|
||||||
// resize and reposition items
|
// resize and reposition items
|
||||||
int newWidth = contentsRect().width() - verticalScrollBar()->width();
|
int newWidth = contentsRect().width();
|
||||||
int newHeight = 0;
|
int newHeight = 0;
|
||||||
QVector<ThumbnailWidget *>::const_iterator tIt = m_thumbnails.begin(), tEnd = m_thumbnails.end();
|
QVector<ThumbnailWidget *>::const_iterator tIt = m_thumbnails.begin(), tEnd = m_thumbnails.end();
|
||||||
for ( ; tIt != tEnd; ++tIt )
|
for ( ; tIt != tEnd; ++tIt )
|
||||||
|
|
Loading…
Reference in a new issue