summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-21 01:24:19 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-21 01:24:19 +0300
commit188bfbdc024afe71be191d17a12bf5bf12077065 (patch)
treef7d6f127e9f39d844e42cc1e28aa1d7cbbe3fa03 /src/defaults.cpp
parent7432e8857d5e58953326e49e24f79a1fcdbeaef2 (diff)
downloadmanaplus-188bfbdc024afe71be191d17a12bf5bf12077065.tar.gz
manaplus-188bfbdc024afe71be191d17a12bf5bf12077065.tar.bz2
manaplus-188bfbdc024afe71be191d17a12bf5bf12077065.tar.xz
manaplus-188bfbdc024afe71be191d17a12bf5bf12077065.zip
Add option in settings to center window on screen (windows and osx)
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index f29d304da..5b4641f1a 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -244,6 +244,9 @@ DefaultsData* getConfigDefaults()
AddDEF(configData, "downloadProxy", "");
AddDEF(configData, "downloadProxyType", 0);
AddDEF(configData, "blur", true);
+#if defined(WIN32) || defined(__APPLE__)
+ AddDEF(configData, "centerwindow", true);
+#endif
return configData;
}