mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-23 10:05:10 -07:00
[Tabs] Add a setting to define startup tab on application launch (#7121)
* [Tabs] Add a setting to define startup tab on application launch. Took 29 minutes * Naming and sizing Took 4 minutes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
fbe5c4ade0
commit
16b6132701
14 changed files with 599 additions and 3 deletions
|
|
@ -55,6 +55,7 @@ class ServerInfo_User;
|
|||
class TabSupervisor;
|
||||
class WndSets;
|
||||
class DlgTipOfTheDay;
|
||||
struct ContextConnectToServer;
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
|
|
@ -105,6 +106,11 @@ private slots:
|
|||
void startupConfigCheck();
|
||||
void alertForcedOracleRun(const QString &version, bool isUpdate);
|
||||
|
||||
void applyStartupDestination();
|
||||
void onStartupDestinationConnected(int destination, const ContextConnectToServer &serverContext);
|
||||
void startupDestinationFailed(const QString &reason);
|
||||
[[nodiscard]] bool startupDestinationConnectsToServer() const;
|
||||
|
||||
private:
|
||||
static const QString appName;
|
||||
static const QStringList fileNameFilters;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue