mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-27 17:13:54 -07:00
Portable mode for windows (#2794)
* Portable mode for windows * fix start menu in portable mode * Make gcc an happy puppy * Clean old installation if we are installing over an old portable mode installation * Default to Desktop\CockatricePortable * Settings dialog fixes * wording
This commit is contained in:
parent
1565309146
commit
1366e5970e
13 changed files with 217 additions and 86 deletions
|
|
@ -115,6 +115,7 @@ private:
|
|||
QString getSafeConfigFilePath(QString configEntry, QString defaultPath) const;
|
||||
bool rememberGameSettings;
|
||||
QList<ReleaseChannel*> releaseChannels;
|
||||
bool isPortableBuild;
|
||||
|
||||
public:
|
||||
SettingsCache();
|
||||
|
|
@ -198,6 +199,7 @@ public:
|
|||
MessageSettings& messages() const { return *messageSettings; }
|
||||
GameFiltersSettings& gameFilters() const { return *gameFiltersSettings; }
|
||||
LayoutsSettings& layouts() const { return *layoutsSettings; }
|
||||
bool getIsPortableBuild() const { return isPortableBuild; }
|
||||
public slots:
|
||||
void setMainWindowGeometry(const QByteArray &_mainWindowGeometry);
|
||||
void setTokenDialogGeometry(const QByteArray &_tokenDialog);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue