mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 09:04:53 -07:00
Force Oracle run on new install/update (#3497)
* Force Oracle run on new install/update Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com> * Add settings option to disable such a check Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com>
This commit is contained in:
parent
273d5d89b7
commit
41bfbf2e83
6 changed files with 75 additions and 5 deletions
|
|
@ -101,6 +101,8 @@ private slots:
|
|||
void actManageSets();
|
||||
void actEditTokens();
|
||||
|
||||
void alertForcedOracleRun(const QString &);
|
||||
|
||||
private:
|
||||
static const QString appName;
|
||||
static const QStringList fileNameFilters;
|
||||
|
|
@ -146,4 +148,17 @@ protected:
|
|||
QString extractInvalidUsernameMessage(QString &in);
|
||||
};
|
||||
|
||||
class MainUpdateHelper : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
signals:
|
||||
void newVersionDetected(QString);
|
||||
|
||||
public:
|
||||
explicit MainUpdateHelper() = default;
|
||||
~MainUpdateHelper() override = default;
|
||||
void testForNewVersion();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue