diff options
| author | JosJuice <josjuice@gmail.com> | 2021-08-05 19:05:12 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2021-08-28 19:31:27 +0200 |
| commit | b90008aadb116d1d35bf13cf866dc66292b21273 (patch) | |
| tree | 703bdd993803e148bc2f6b21a4b49ad8a9855542 /Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp | |
| parent | fb96ecb7da563d8b66ce4083db239da402e3aebc (diff) | |
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) |
