mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
Qt: fix deprecation warnings
This commit is contained in:
parent
30d5a849e3
commit
485b22d664
4 changed files with 22 additions and 4 deletions
|
@ -331,7 +331,7 @@ void debugger_frame::UpdateUnitList()
|
|||
|
||||
const auto on_select = [&](u32, cpu_thread& cpu)
|
||||
{
|
||||
QVariant var_cpu = qVariantFromValue<void*>(&cpu);
|
||||
QVariant var_cpu = QVariant::fromValue<void*>(&cpu);
|
||||
m_choice_units->addItem(qstr(cpu.get_name()), var_cpu);
|
||||
if (old_cpu == var_cpu) m_choice_units->setCurrentIndex(m_choice_units->count() - 1);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue