mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-19 08:11:09 -08:00
preliminary client-side replay support, works in principle
This commit is contained in:
@@ -8,6 +8,7 @@ SettingsCache::SettingsCache()
|
||||
lang = settings->value("personal/lang").toString();
|
||||
|
||||
deckPath = settings->value("paths/decks").toString();
|
||||
replaysPath = settings->value("paths/replays").toString();
|
||||
picsPath = settings->value("paths/pics").toString();
|
||||
cardDatabasePath = settings->value("paths/carddatabase").toString();
|
||||
|
||||
@@ -49,6 +50,12 @@ void SettingsCache::setDeckPath(const QString &_deckPath)
|
||||
settings->setValue("paths/decks", deckPath);
|
||||
}
|
||||
|
||||
void SettingsCache::setReplaysPath(const QString &_replaysPath)
|
||||
{
|
||||
replaysPath = _replaysPath;
|
||||
settings->setValue("paths/replays", replaysPath);
|
||||
}
|
||||
|
||||
void SettingsCache::setPicsPath(const QString &_picsPath)
|
||||
{
|
||||
picsPath = _picsPath;
|
||||
|
||||
Reference in New Issue
Block a user