Merge pull request #8342 from dreamsyntax/codeview-remove-double-space

DolphinQt: GeckoCodeWidget remove double space
This commit is contained in:
Anthony 2019-09-01 12:14:23 -07:00 committed by GitHub
commit b0a5a9f7c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,9 +165,11 @@ void GeckoCodeWidget::OnSelectionChanged()
m_code_view->clear();
for (const auto& c : code.codes)
m_code_view->append(QStringLiteral("%1 %2")
{
m_code_view->append(QStringLiteral("%1 %2")
.arg(c.address, 8, 16, QLatin1Char('0'))
.arg(c.data, 8, 16, QLatin1Char('0')));
}
}
void GeckoCodeWidget::OnItemChanged(QListWidgetItem* item)