diff options
| author | JosJuice <josjuice@gmail.com> | 2021-09-08 21:36:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-08 21:36:56 +0200 |
| commit | 52304df943cda35cff9dd64a08e1a26de03f9b66 (patch) | |
| tree | 1884cea61281f1ed4c074388ee26aa20ca228497 /Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp | |
| parent | 2a22367211322f5afd72ff19dfc05827afdf59d8 (diff) | |
| parent | b90008aadb116d1d35bf13cf866dc66292b21273 (diff) | |
Merge pull request #10011 from JosJuice/android-cheats-preparation
Split out code for serializing/deserializing cheat lines
Diffstat (limited to 'Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp index 4fc99a0dc4..99110d3b37 100644 --- a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp +++ b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp @@ -167,11 +167,7 @@ void GeckoCodeWidget::OnSelectionChanged() m_code_view->clear(); for (const auto& c : code.codes) - { - m_code_view->append(QStringLiteral("%1 %2") - .arg(c.address, 8, 16, QLatin1Char('0')) - .arg(c.data, 8, 16, QLatin1Char('0'))); - } + m_code_view->append(QString::fromStdString(c.original_line)); } void GeckoCodeWidget::OnItemChanged(QListWidgetItem* item) |
