rename method

This commit is contained in:
RickyRister 2025-02-19 00:26:37 -08:00
parent 09ef1b4aef
commit 9d4c1e2aa4
3 changed files with 3 additions and 3 deletions

View file

@ -746,7 +746,7 @@ TabDeckEditor::TabDeckEditor(TabSupervisor *_tabSupervisor) : Tab(_tabSupervisor
connect(&SettingsCache::instance().shortcuts(), SIGNAL(shortCutChanged()), this, SLOT(refreshShortcuts()));
refreshShortcuts();
connect(this, &TabDeckEditor::deckSaved, DeckEditEventBus::instance(), &DeckEditEventBus::deckModified);
connect(this, &TabDeckEditor::deckSaved, DeckEditEventBus::instance(), &DeckEditEventBus::deckFileModified);
loadLayout();
}

View file

@ -111,7 +111,7 @@ VisualDeckStorageWidget::VisualDeckStorageWidget(QWidget *parent) : QWidget(pare
retranslateUi();
connect(DeckEditEventBus::instance(), &DeckEditEventBus::deckModified, this,
connect(DeckEditEventBus::instance(), &DeckEditEventBus::deckFileModified, this,
&VisualDeckStorageWidget::handleDeckModified);
// Don't waste time processing the cards if they're going to get refreshed anyway once the db finishes loading

View file

@ -27,7 +27,7 @@ signals:
* Should be emitted when a change has been written to a deck file.
* @param filePath Absolute path to the deck file
*/
void deckModified(const QString &filePath);
void deckFileModified(const QString &filePath);
};
#endif // DECK_EDIT_EVENT_BUS_H