From 225af34ce96b1f301c298d42d62b942b3a013414 Mon Sep 17 00:00:00 2001 From: Robbie Date: Thu, 13 Jul 2017 19:51:36 -0500 Subject: [PATCH] For the Neko --- rpcs3/rpcs3qt/game_list_frame.cpp | 3 ++- rpcs3/rpcs3qt/main_window.cpp | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rpcs3/rpcs3qt/game_list_frame.cpp b/rpcs3/rpcs3qt/game_list_frame.cpp index 3367d86ce4..d696149a9d 100644 --- a/rpcs3/rpcs3qt/game_list_frame.cpp +++ b/rpcs3/rpcs3qt/game_list_frame.cpp @@ -565,6 +565,7 @@ void game_list_frame::doubleClickedSlot(const QModelIndex& index) { LOG_SUCCESS(LOADER, "Boot from gamelist per doubleclick: done"); RequestAddRecentGame(q_string_pair(qstr(Emu.GetBoot()), qstr("[" + m_game_data[i].info.serial + "] " + m_game_data[i].info.name))); + Refresh(true); } } else @@ -863,7 +864,7 @@ void game_list_frame::PopulateGameGrid(uint maxCols, const QSize& image_size, co std::string selected_item = CurrentSelectionIconPath(); - delete m_xgrid; + m_xgrid->deleteLater(); bool showText = m_Icon_Size_Str != GUI::gl_icon_key_small && m_Icon_Size_Str != GUI::gl_icon_key_tiny; diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index 24220f4baa..19019356bf 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -243,6 +243,7 @@ void main_window::BootElf() const std::string serial = Emu.GetTitleID().empty() ? "" : "[" + Emu.GetTitleID() + "] "; AddRecentAction(q_string_pair(qstr(Emu.GetBoot()), qstr(serial + Emu.GetTitle()))); + gameListFrame->Refresh(true); } } @@ -279,6 +280,7 @@ void main_window::BootGame() const std::string serial = Emu.GetTitleID().empty() ? "" : "[" + Emu.GetTitleID() + "] "; AddRecentAction(q_string_pair(qstr(Emu.GetBoot()), qstr(serial + Emu.GetTitle()))); + gameListFrame->Refresh(true); } } @@ -794,6 +796,7 @@ void main_window::BootRecentAction(const QAction* act) { LOG_SUCCESS(LOADER, "Boot from Recent List: done"); AddRecentAction(q_string_pair(qstr(Emu.GetBoot()), nam)); + gameListFrame->Refresh(true); } };