summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-31 21:46:58 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-31 21:46:58 +0300
commit243497fdab7c2f88bebb0e469ecbb2f1fbbe350d (patch)
tree4f41129e44bdba74a97857cc1107dac3aebb9758 /src/client.cpp
parent4157793fab13e00d8176d2d4f0ffd5f9cc957fbe (diff)
downloadmv-243497fdab7c2f88bebb0e469ecbb2f1fbbe350d.tar.gz
mv-243497fdab7c2f88bebb0e469ecbb2f1fbbe350d.tar.bz2
mv-243497fdab7c2f88bebb0e469ecbb2f1fbbe350d.tar.xz
mv-243497fdab7c2f88bebb0e469ecbb2f1fbbe350d.zip
Add secure font. Now unused.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index d512ac6e4..b9a1b56a6 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1728,6 +1728,7 @@ void Client::storeSafeParameters()
std::string boldFont;
std::string particleFont;
std::string helpFont;
+ std::string secureFont;
bool showBackground;
bool enableMumble;
@@ -1753,6 +1754,7 @@ void Client::storeSafeParameters()
boldFont = config.getStringValue("boldFont");
particleFont = config.getStringValue("particleFont");
helpFont = config.getStringValue("helpFont");
+ secureFont = config.getStringValue("secureFont");
showBackground = config.getBoolValue("showBackground");
enableMumble = config.getBoolValue("enableMumble");
@@ -1769,6 +1771,7 @@ void Client::storeSafeParameters()
config.setValue("boldFont", "fonts/dejavusans-bold.ttf");
config.setValue("particleFont", "fonts/dejavusans.ttf");
config.setValue("helpFont", "fonts/dejavusansmono.ttf");
+ config.setValue("secureFont", "fonts/dejavusansmono.ttf");
config.setValue("showBackground", false);
config.setValue("enableMumble", false);
@@ -1792,6 +1795,7 @@ void Client::storeSafeParameters()
config.setValue("boldFont", boldFont);
config.setValue("particleFont", particleFont);
config.setValue("helpFont", helpFont);
+ config.setValue("secureFont", secureFont);
config.setValue("showBackground", showBackground);
config.setValue("enableMumble", enableMumble);
}