aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@users.noreply.github.com>2021-12-19 18:43:13 +0100
committerGitHub <noreply@github.com>2021-12-19 18:43:13 +0100
commit6f6fa6955aac60a73f2d27474c47890313ec59ba (patch)
tree482acd76c6b83167b3e6bcdd632519fac9f75ced /launcher
parent5961c69019faad7d43b69942669d51221030a468 (diff)
parenteb1091a5f47df1f42c445847b05b44b10e74a41c (diff)
downloadPrismLauncher-6f6fa6955aac60a73f2d27474c47890313ec59ba.tar.gz
PrismLauncher-6f6fa6955aac60a73f2d27474c47890313ec59ba.tar.bz2
PrismLauncher-6f6fa6955aac60a73f2d27474c47890313ec59ba.zip
Merge pull request #4295 from kb-1000/instanceview-unused-code
NOISSUE Remove some unused code from InstanceView
Diffstat (limited to 'launcher')
-rw-r--r--launcher/ui/instanceview/InstanceView.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/launcher/ui/instanceview/InstanceView.cpp b/launcher/ui/instanceview/InstanceView.cpp
index 1f044866..25aec1ab 100644
--- a/launcher/ui/instanceview/InstanceView.cpp
+++ b/launcher/ui/instanceview/InstanceView.cpp
@@ -835,15 +835,6 @@ QModelIndex InstanceView::moveCursor(QAbstractItemView::CursorAction cursorActio
if(group_index < 0)
return current;
- auto real_group = m_groups[group_index];
- int beginning_row = 0;
- for(auto group: m_groups)
- {
- if(group == real_group)
- break;
- beginning_row += group->numRows();
- }
-
QPair<int, int> pos = cat->positionOf(current);
int column = pos.first;
int row = pos.second;