Fix quick switcher not ordering based on tab order (#2561)

This commit is contained in:
James Upjohn 2021-03-28 00:32:14 +13:00 committed by GitHub
parent 1f5b62e6e5
commit 093a088363
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -84,6 +84,7 @@
- Bugfix: Fix Twitch cheer emotes not displaying tooltips when hovered (#2434, #2503) - Bugfix: Fix Twitch cheer emotes not displaying tooltips when hovered (#2434, #2503)
- Bugfix: Fix BTTV/FFZ channel emotes saying unknown error when no emotes found (#2542) - Bugfix: Fix BTTV/FFZ channel emotes saying unknown error when no emotes found (#2542)
- Bugfix: Fix directory not opening when clicking "Open AppData Directory" setting button on macOS (#2531, #2537) - Bugfix: Fix directory not opening when clicking "Open AppData Directory" setting button on macOS (#2531, #2537)
- Bugfix: Fix quickswitcher not respecting order of tabs when filtering (#2519, #2561)
- Dev: Updated minimum required Qt framework version to 5.12. (#2210) - Dev: Updated minimum required Qt framework version to 5.12. (#2210)
- Dev: Migrated `Kraken::getUser` to Helix (#2260) - Dev: Migrated `Kraken::getUser` to Helix (#2260)
- Dev: Migrated `TwitchAccount::(un)followUser` from Kraken to Helix and moved it to `Helix::(un)followUser`. (#2306) - Dev: Migrated `TwitchAccount::(un)followUser` from Kraken to Helix and moved it to `Helix::(un)followUser`. (#2306)

View file

@ -14,14 +14,14 @@
namespace chatterino { namespace chatterino {
namespace { namespace {
QSet<SplitContainer *> openPages() QList<SplitContainer *> openPages()
{ {
QSet<SplitContainer *> pages; QList<SplitContainer *> pages;
auto &nb = getApp()->windows->getMainWindow().getNotebook(); auto &nb = getApp()->windows->getMainWindow().getNotebook();
for (int i = 0; i < nb.getPageCount(); ++i) for (int i = 0; i < nb.getPageCount(); ++i)
{ {
pages.insert(static_cast<SplitContainer *>(nb.getPageAt(i))); pages.append(static_cast<SplitContainer *>(nb.getPageAt(i)));
} }
return pages; return pages;