diff options
author | Lenny McLennington <lennymclennington@protonmail.com> | 2021-12-20 02:41:08 +0000 |
---|---|---|
committer | Lenny McLennington <lennymclennington@protonmail.com> | 2021-12-20 02:57:13 +0000 |
commit | e6246a9306567f5646d3bc1971a1c5c4cf8f4f54 (patch) | |
tree | 17a4e24951924f1cfcda2558bf5d13bd620a5625 /launcher/ui/instanceview | |
parent | dcb57f199531e45ac4bf947eaf8cbfe5e66fce23 (diff) | |
download | PrismLauncher-e6246a9306567f5646d3bc1971a1c5c4cf8f4f54.tar.gz PrismLauncher-e6246a9306567f5646d3bc1971a1c5c4cf8f4f54.tar.bz2 PrismLauncher-e6246a9306567f5646d3bc1971a1c5c4cf8f4f54.zip |
Move MSA Client ID to the same place as the others
MSA Client ID has been moved to CMakeLists.txt, and defaults to the
Client ID for the PolyMC application.
Removed secrets/notsecrets library, replace with (temporary?)
program_info subdirectory.
Diffstat (limited to 'launcher/ui/instanceview')
-rw-r--r-- | launcher/ui/instanceview/InstanceView.cpp | 9 |
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; |