Refactor window platform helper functions

This commit is contained in:
WarmUpTill
2026-05-18 19:35:41 +02:00
parent ee1d0136d9
commit 930e8b38d4
10 changed files with 388 additions and 470 deletions

View File

@@ -173,10 +173,10 @@ void PopulateTransitionSelection(QComboBox *sel, bool addCurrent, bool addAny,
void PopulateWindowSelection(QComboBox *sel, bool addSelect)
{
const auto windows = GetWindowList();
const auto windows = GetWindows();
for (const std::string &window : windows) {
sel->addItem(window.c_str());
for (const auto &info : windows) {
sel->addItem(info.title.c_str());
}
sel->model()->sort(0);