mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-24 07:33:54 -07:00
Check for client updates on startup (#5359)
This commit is contained in:
parent
e0829a75d2
commit
df9c5ae53c
13 changed files with 142 additions and 10 deletions
|
|
@ -30,6 +30,7 @@
|
|||
#include <QSystemTrayIcon>
|
||||
#include <QtNetwork>
|
||||
|
||||
class Release;
|
||||
class DlgConnect;
|
||||
class DlgViewLog;
|
||||
class GameReplay;
|
||||
|
|
@ -49,6 +50,7 @@ class MainWindow : public QMainWindow
|
|||
public slots:
|
||||
void actCheckCardUpdates();
|
||||
void actCheckServerUpdates();
|
||||
void actCheckClientUpdates();
|
||||
private slots:
|
||||
void updateTabMenu(const QList<QMenu *> &newMenuList);
|
||||
void statusChanged(ClientStatus _status);
|
||||
|
|
@ -95,6 +97,8 @@ private slots:
|
|||
void cardDatabaseNewSetsFound(int numUnknownSets, QStringList unknownSetsNames);
|
||||
void cardDatabaseAllNewSetsEnabled();
|
||||
|
||||
void checkClientUpdatesFinished(bool needToUpdate, bool isCompatible, Release *release);
|
||||
|
||||
void actOpenCustomFolder();
|
||||
void actOpenCustomsetsFolder();
|
||||
void actAddCustomSet();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue