mirror of
https://github.com/stenzek/duckstation.git
synced 2026-07-11 01:24:11 +02:00
Qt: More appropriate icon for "Search on Redump" button
This commit is contained in:
committed by
Connor McLaughlin
parent
e8938f0634
commit
2b1a6cf2b5
@@ -527,8 +527,8 @@ void GameSummaryWidget::onCompatibilityCommentsClicked()
|
||||
|
||||
void GameSummaryWidget::onInputProfileChanged(int index)
|
||||
{
|
||||
|
||||
SettingsInterface* sif = m_dialog->getSettingsInterface();
|
||||
|
||||
if (index == 0)
|
||||
{
|
||||
// Use global settings.
|
||||
@@ -759,7 +759,10 @@ void GameSummaryWidget::processHashResults(const CDImageHasher::TrackHashes& tra
|
||||
}
|
||||
|
||||
if (!m_redump_search_keyword.empty())
|
||||
{
|
||||
m_ui.computeHashes->setIcon(QIcon(u":/icons/monochrome/svg/mag-line.svg"_s));
|
||||
m_ui.computeHashes->setText(tr("Search on Redump.org"));
|
||||
}
|
||||
else
|
||||
m_ui.computeHashes->setEnabled(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user