diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-03-25 19:28:08 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-03-25 19:28:08 +0100 |
commit | 37852d47a7e5c3d65a0cfa127ced477b33eca269 (patch) | |
tree | b43dd80f2e3fbdb2f2c8bb8bc8e893de7b590abc | |
parent | 65dc5d44f147fa70710b651f1d6cab8d09fad3c4 (diff) | |
download | MultiMC-37852d47a7e5c3d65a0cfa127ced477b33eca269.tar MultiMC-37852d47a7e5c3d65a0cfa127ced477b33eca269.tar.gz MultiMC-37852d47a7e5c3d65a0cfa127ced477b33eca269.tar.lz MultiMC-37852d47a7e5c3d65a0cfa127ced477b33eca269.tar.xz MultiMC-37852d47a7e5c3d65a0cfa127ced477b33eca269.zip |
Fix an another layout problem in instance list
-rw-r--r-- | libgroupview/src/kcategorizedview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libgroupview/src/kcategorizedview.cpp b/libgroupview/src/kcategorizedview.cpp index fdf6bc77..19f9a0af 100644 --- a/libgroupview/src/kcategorizedview.cpp +++ b/libgroupview/src/kcategorizedview.cpp @@ -479,7 +479,8 @@ void KCategorizedView::Private::leftToRightVisualRect ( const QModelIndex &index Q_FOREVER { 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() ) { break; |