mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
rename method
This commit is contained in:
parent
09ef1b4aef
commit
9d4c1e2aa4
3 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue