mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Fix release tests (#4063)
This commit is contained in:
parent
80f613a77a
commit
44297dcd1c
57 changed files with 1114 additions and 697 deletions
|
|
@ -6,10 +6,13 @@
|
|||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QFile>
|
||||
#include <QGlobalStatic>
|
||||
#include <QSettings>
|
||||
#include <QStandardPaths>
|
||||
#include <utility>
|
||||
|
||||
Q_GLOBAL_STATIC(SettingsCache, settingsCache);
|
||||
|
||||
QString SettingsCache::getDataPath()
|
||||
{
|
||||
if (isPortableBuild)
|
||||
|
|
@ -967,3 +970,8 @@ void SettingsCache::setMaxFontSize(int _max)
|
|||
maxFontSize = _max;
|
||||
settings->setValue("game/maxfontsize", maxFontSize);
|
||||
}
|
||||
|
||||
SettingsCache &SettingsCache::instance()
|
||||
{
|
||||
return *settingsCache;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue