mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
Qt: implement flow layout game grid
This will allow us to properly style the grid and also remove the need to refresh the whole grid on a window resize
This commit is contained in:
parent
0b628cb50e
commit
f115032095
48 changed files with 2563 additions and 1601 deletions
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
LOG_CHANNEL(cfg_log, "CFG");
|
||||
|
||||
constexpr auto qstr = QString::fromStdString;
|
||||
|
||||
render_creator::render_creator(QObject *parent) : QObject(parent)
|
||||
{
|
||||
#if defined(HAVE_VULKAN)
|
||||
|
|
@ -50,9 +48,9 @@ render_creator::render_creator(QObject *parent) : QObject(parent)
|
|||
|
||||
if (!work_done) // The spawning thread gave up, do not attempt to modify vulkan_adapters
|
||||
{
|
||||
for (auto& gpu : gpus)
|
||||
for (const auto& gpu : gpus)
|
||||
{
|
||||
adapters->append(qstr(gpu.get_name()));
|
||||
adapters->append(QString::fromStdString(gpu.get_name()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue