[VDS] Reload deck on hover if file has been modified since last load (#6507)

* add reload to DeckLoader

* [VDS] Reload deck on hover if file has been modified since last load

* fix version incompatibility
This commit is contained in:
RickyRister 2026-01-22 20:31:39 -08:00 committed by GitHub
parent d9b9c79112
commit 39ddaa0c35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 124 additions and 20 deletions

View file

@ -62,6 +62,13 @@ public:
*/
void loadFromFileAsync(const QString &fileName, DeckFileFormat::Format fmt, bool userRequest);
/**
* @brief Loads the file that the lastLoadInfo currently points to into this instance.
* No-ops if the lastLoadInfo is missing the required info or the load fails.
* @return Whether the loaded succeeded.
*/
bool reload();
/**
* @brief Loads a deck from a local file.
* @param fileName The file to load