mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-08 11:44:25 -05:00
CardDatabase gains a new signal void cardDatabaseLoadingFinished(), which (#5156)
Some checks failed
Build Desktop / Configure (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (Debian11, DEB) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (Debian12, DEB) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (Fedora39, RPM) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (Fedora40, RPM) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (UbuntuBionic, DEB) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (UbuntuFocal, DEB, skip) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (UbuntuJammy, DEB, skip) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (UbuntuNoble, DEB) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (yes, ArchLinux, skip) (push) Has been cancelled
Build Desktop / macOS${{matrix.target}} (1, macos-12, 12_Monterey_and_13_Ventura, Release, 14.0.1) (push) Has been cancelled
Build Desktop / macOS${{matrix.target}} (1, macos-14, 14_Sonoma, Release, 15.4) (push) Has been cancelled
Build Desktop / macOS${{matrix.target}} (macos-14, 14_Sonoma_Debug, Debug, 15.4) (push) Has been cancelled
Build Desktop / Windows ${{matrix.target}} (msvc2019_64, 5.15.*, 7) (push) Has been cancelled
Build Desktop / Windows ${{matrix.target}} (msvc2019_64, qtimageformats qtmultimedia qtwebsockets, 6.5.*, 10) (push) Has been cancelled
Some checks failed
Build Desktop / Configure (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (Debian11, DEB) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (Debian12, DEB) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (Fedora39, RPM) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (Fedora40, RPM) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (UbuntuBionic, DEB) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (UbuntuFocal, DEB, skip) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (UbuntuJammy, DEB, skip) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (UbuntuNoble, DEB) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} (yes, ArchLinux, skip) (push) Has been cancelled
Build Desktop / macOS${{matrix.target}} (1, macos-12, 12_Monterey_and_13_Ventura, Release, 14.0.1) (push) Has been cancelled
Build Desktop / macOS${{matrix.target}} (1, macos-14, 14_Sonoma, Release, 15.4) (push) Has been cancelled
Build Desktop / macOS${{matrix.target}} (macos-14, 14_Sonoma_Debug, Debug, 15.4) (push) Has been cancelled
Build Desktop / Windows ${{matrix.target}} (msvc2019_64, 5.15.*, 7) (push) Has been cancelled
Build Desktop / Windows ${{matrix.target}} (msvc2019_64, qtimageformats qtmultimedia qtwebsockets, 6.5.*, 10) (push) Has been cancelled
it will emit in loadCardDatabases(), mirroring the else branch where cardDatabaseLoadingFailed() is emitted. Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
230a2c5c62
commit
0c4e8ca290
|
|
@ -567,6 +567,7 @@ LoadStatus CardDatabase::loadCardDatabases()
|
|||
if (loadStatus == Ok) {
|
||||
checkUnknownSets(); // update deck editors, etc
|
||||
qDebug() << "CardDatabase::loadCardDatabases success";
|
||||
emit cardDatabaseLoadingFinished();
|
||||
} else {
|
||||
qDebug() << "CardDatabase::loadCardDatabases failed";
|
||||
emit cardDatabaseLoadingFailed(); // bring up the settings dialog
|
||||
|
|
|
|||
|
|
@ -441,6 +441,7 @@ public slots:
|
|||
protected slots:
|
||||
LoadStatus loadCardDatabase(const QString &path);
|
||||
signals:
|
||||
void cardDatabaseLoadingFinished();
|
||||
void cardDatabaseLoadingFailed();
|
||||
void cardDatabaseNewSetsFound(int numUnknownSets, QStringList unknownSetsNames);
|
||||
void cardDatabaseAllNewSetsEnabled();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user