From 83df445de9def52e9afaf6a458a8d7e64b7fa864 Mon Sep 17 00:00:00 2001 From: loathingKernel <142770+loathingKernel@users.noreply.github.com> Date: Mon, 26 Dec 2022 17:32:32 +0200 Subject: [PATCH] GlobalSignals: Fix signal names in EGLSyncGroup and ImportGroup Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com> --- rare/components/tabs/games/integrations/egl_sync_group.py | 2 +- rare/components/tabs/games/integrations/import_group.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rare/components/tabs/games/integrations/egl_sync_group.py b/rare/components/tabs/games/integrations/egl_sync_group.py index 52ccb124..d351bcd4 100644 --- a/rare/components/tabs/games/integrations/egl_sync_group.py +++ b/rare/components/tabs/games/integrations/egl_sync_group.py @@ -279,7 +279,7 @@ class EGLSyncListGroup(QGroupBox): imported.append(item.app_name) self.ui.list.takeItem(self.ui.list.row(item)) if not self.export and imported: - self.signals.update_gamelist.emit(imported) + self.signals.game.installed.emit(imported) self.populate(True) if errors: self.action_errors.emit(errors) diff --git a/rare/components/tabs/games/integrations/import_group.py b/rare/components/tabs/games/integrations/import_group.py index 806b74fc..36437015 100644 --- a/rare/components/tabs/games/integrations/import_group.py +++ b/rare/components/tabs/games/integrations/import_group.py @@ -278,13 +278,13 @@ class ImportGroup(QGroupBox): logger.info(f"Import finished: {result}") self.info_label.setText("") - self.signals.update_gamelist.emit([r.app_name for r in result if r.result == ImportResult.SUCCESS]) + self.signals.game.installed.emit([r.app_name for r in result if r.result == ImportResult.SUCCESS]) for failed in (f for f in result if f.result == ImportResult.FAILED): igame = self.core.get_installed_game(failed.app_name) if igame and igame.version != self.core.get_asset(igame.app_name, igame.platform, False).build_version: # update available - self.signals.add_download.emit(igame.app_name) + self.signals.download.enqueue_game.emit(igame.app_name) self.signals.update_download_tab_text.emit() if len(result) == 1: