mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
Qt: Enable game window shortcuts
This commit is contained in:
parent
ad3d8675e7
commit
e58a89af2d
11 changed files with 36 additions and 127 deletions
|
@ -78,6 +78,9 @@ gui_save shortcut_settings::get_shortcut_gui_save(const QString& shortcut_name)
|
|||
|
||||
QKeySequence shortcut_settings::get_key_sequence(const shortcut_info& entry, const std::shared_ptr<gui_settings>& gui_settings)
|
||||
{
|
||||
if (!gui_settings)
|
||||
return {};
|
||||
|
||||
const QString saved_value = gui_settings->GetValue(get_shortcut_gui_save(entry.name)).toString();
|
||||
|
||||
QKeySequence key_sequence = QKeySequence::fromString(saved_value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue