Skip to content

Commit e1a84c5

Browse files
committed
eror fix
1 parent a8f677f commit e1a84c5

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

src/mainwindow.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,6 @@ void MainWindow::onSyncDone(QList<GameInfo> games) {
574574
displayRandomGames();
575575
} else if (m_currentMode == AppMode::Library) {
576576
displayLibrary();
577-
} else {
578-
populateFixList();
579577
}
580578
}
581579

@@ -598,8 +596,6 @@ void MainWindow::onSearchChanged(const QString& text) {
598596
displayRandomGames();
599597
} else if (m_currentMode == AppMode::Library) {
600598
displayLibrary();
601-
} else {
602-
populateFixList();
603599
}
604600
}
605601
}
@@ -617,7 +613,6 @@ void MainWindow::doSearch() {
617613
int count = 0;
618614
for (const auto& game : m_supportedGames) {
619615
if (count >= 100) break;
620-
if (m_currentMode == AppMode::FixManager && !game.hasFix) continue;
621616
if (m_currentMode == AppMode::Library) {
622617
}
623618

@@ -632,15 +627,6 @@ void MainWindow::doSearch() {
632627
}
633628
displayResults(localResults);
634629

635-
if (m_currentMode == AppMode::FixManager) {
636-
m_statusLabel->setText(m_gameCards.isEmpty()
637-
? "No fixes found for this game"
638-
: QString("Found %1 games with fixes").arg(m_gameCards.count()));
639-
m_stack->setCurrentIndex(1);
640-
m_spinner->stop();
641-
return;
642-
}
643-
644630
m_spinner->start();
645631
if (m_gameCards.isEmpty()) m_stack->setCurrentIndex(0);
646632

0 commit comments

Comments
 (0)