mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Qt: remove uncritical deprecated notes and titles
This also fixes a savedata notes bug. The detail section notes were always taken from the deprecated settings.
This commit is contained in:
parent
bff938ccf5
commit
27975e9dfd
4 changed files with 11 additions and 49 deletions
|
|
@ -180,20 +180,7 @@ void save_data_list_dialog::UpdateList()
|
|||
m_list->clearContents();
|
||||
m_list->setRowCount(::narrow<int>(m_save_entries.size()));
|
||||
|
||||
QVariantMap notes = m_persistent_settings->GetValue(gui::persistent::save_notes).toMap();
|
||||
|
||||
// Find deprecated values (older than August 2nd 2020)
|
||||
if (notes.isEmpty())
|
||||
{
|
||||
notes = m_gui_settings->GetValue(gui::m_saveNotes).toMap();
|
||||
m_gui_settings->RemoveValue(gui::m_saveNotes);
|
||||
|
||||
// Move to persistent settings
|
||||
if (!notes.isEmpty())
|
||||
{
|
||||
m_persistent_settings->SetValue(gui::persistent::save_notes, notes);
|
||||
}
|
||||
}
|
||||
const QVariantMap notes = m_persistent_settings->GetValue(gui::persistent::save_notes).toMap();
|
||||
|
||||
int row = 0;
|
||||
for (const SaveDataEntry& entry: m_save_entries)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue