mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-28 15:18:21 +00:00
Fix an another layout problem in instance list
This commit is contained in:
parent
65dc5d44f1
commit
37852d47a7
@ -479,7 +479,8 @@ void KCategorizedView::Private::leftToRightVisualRect ( const QModelIndex &index
|
|||||||
Q_FOREVER
|
Q_FOREVER
|
||||||
{
|
{
|
||||||
prevIndex = proxyModel->index ( prevIndex.row() - 1, q->modelColumn(), q->rootIndex() );
|
prevIndex = proxyModel->index ( prevIndex.row() - 1, q->modelColumn(), q->rootIndex() );
|
||||||
const QRect tempRect = q->visualRect ( prevIndex );
|
QRect tempRect = q->visualRect ( prevIndex );
|
||||||
|
tempRect = mapFromViewport ( tempRect );
|
||||||
if ( tempRect.topLeft().y() < prevRect.topLeft().y() )
|
if ( tempRect.topLeft().y() < prevRect.topLeft().y() )
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user