Font size defaults (#2521)

This commit is contained in:
Zach H 2017-03-19 20:20:06 -04:00 committed by GitHub
parent a2a7561613
commit b5b9527c13
3 changed files with 8 additions and 4 deletions

View file

@ -24,6 +24,8 @@ class ReleaseChannel;
#define DEFAULT_LANG_CODE "en"
#define DEFAULT_LANG_NAME "English"
#define DEFAULT_FONT_SIZE 12
class QSettings;
class SettingsCache : public QObject {
@ -188,7 +190,7 @@ public:
bool getSpectatorsCanSeeEverything() const { return spectatorsCanSeeEverything; }
bool getRememberGameSettings() const { return rememberGameSettings; }
int getKeepAlive() const { return keepalive; }
int getMaxFontSize() const { return (maxFontSize > 1) ? maxFontSize : 9; }
int getMaxFontSize() const { return maxFontSize; }
void setClientID(QString clientID);
void setKnownMissingFeatures(QString _knownMissingFeatures);
QString getClientID() { return clientID; }