fix game ordering
This commit is contained in:
parent
99d7d69b75
commit
a4133ce243
@ -210,8 +210,8 @@ void MainWindow::AttachProcess()
|
||||
void MainWindow::LaunchProcess()
|
||||
{
|
||||
QStringList savedProcesses = QString::fromUtf8(QTextFile(GAME_SAVE_FILE, QIODevice::ReadOnly).readAll()).split("\n", QString::SkipEmptyParts);
|
||||
savedProcesses.removeDuplicates();
|
||||
std::reverse(savedProcesses.begin(), savedProcesses.end());
|
||||
savedProcesses.removeDuplicates();
|
||||
savedProcesses.push_back(SEARCH_GAME);
|
||||
std::wstring process = S(QInputDialog::getItem(this, SELECT_PROCESS, "", savedProcesses, 0, true, &ok, Qt::WindowCloseButtonHint));
|
||||
if (!ok) return;
|
||||
|
Loading…
Reference in New Issue
Block a user