Skip to content

Commit c43c341

Browse files
committed
Qt: remove unused NotifyBatchedGameActionFinished signal
1 parent 5996c51 commit c43c341

File tree

5 files changed

+1
-15
lines changed

5 files changed

+1
-15
lines changed

rpcs3/rpcs3qt/game_list_frame.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2501,13 +2501,11 @@ void game_list_frame::BatchCreateCPUCaches(const std::vector<game_info>& game_da
25012501
if (total == 0)
25022502
{
25032503
QMessageBox::information(this, tr("LLVM Cache Batch Creation"), tr("No titles found"), QMessageBox::Ok);
2504-
Q_EMIT NotifyBatchedGameActionFinished();
25052504
return;
25062505
}
25072506

25082507
if (!m_gui_settings->GetBootConfirmation(this))
25092508
{
2510-
Q_EMIT NotifyBatchedGameActionFinished();
25112509
return;
25122510
}
25132511

@@ -2531,7 +2529,6 @@ void game_list_frame::BatchCreateCPUCaches(const std::vector<game_info>& game_da
25312529
{
25322530
if (serial.empty())
25332531
{
2534-
Q_EMIT NotifyBatchedGameActionFinished();
25352532
return false;
25362533
}
25372534

rpcs3/rpcs3qt/game_list_frame.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ private Q_SLOTS:
9696
void FocusToSearchBar();
9797
void Refreshed();
9898
void RequestSaveStateManager(const game_info& game);
99-
void NotifyBatchedGameActionFinished();
10099

101100
public:
102101
template <typename KeyType>

rpcs3/rpcs3qt/main_window.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3379,15 +3379,6 @@ void main_window::CreateConnects()
33793379
connect(ui->mw_searchbar, &QLineEdit::textChanged, m_game_list_frame, &game_list_frame::SetSearchText);
33803380
connect(ui->mw_searchbar, &QLineEdit::returnPressed, m_game_list_frame, &game_list_frame::FocusAndSelectFirstEntryIfNoneIs);
33813381
connect(m_game_list_frame, &game_list_frame::FocusToSearchBar, this, [this]() { ui->mw_searchbar->setFocus(); });
3382-
3383-
connect(m_game_list_frame, &game_list_frame::NotifyBatchedGameActionFinished, this, [this]() mutable
3384-
{
3385-
if (m_notify_batch_game_action_cb)
3386-
{
3387-
m_notify_batch_game_action_cb();
3388-
m_notify_batch_game_action_cb = {};
3389-
}
3390-
});
33913382
}
33923383

33933384
void main_window::CreateDockWindows()

rpcs3/rpcs3qt/main_window.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ class main_window : public QMainWindow
4949
bool m_save_slider_pos = false;
5050
bool m_requested_show_logs_on_exit = false;
5151
int m_other_slider_pos = 0;
52-
std::function<void()> m_notify_batch_game_action_cb;
5352

5453
QIcon m_app_icon;
5554
QIcon m_icon_play;

rpcs3/rpcs3qt/pkg_install_dialog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class pkg_install_dialog : public QDialog
2727
void update_info(QLabel* installation_info, QDialogButtonBox* buttons) const;
2828
void move_item(int offset) const;
2929

30-
QListWidget* m_dir_list;
30+
QListWidget* m_dir_list = nullptr;
3131
bool m_precompile_caches = false;
3232
bool m_create_desktop_shortcuts = false;
3333
bool m_create_app_shortcut = false;

0 commit comments

Comments
 (0)