summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-18 17:33:52 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-18 17:33:52 +0300
commit3b999f51c740d0541c53d223518e5e4bb482d996 (patch)
treeb9add08fe91c16b0e86cfb9365c0633e81d21355
parentaf73c028c035aae3c96c00302491d62e9fbaea74 (diff)
downloadmanaverse-3b999f51c740d0541c53d223518e5e4bb482d996.tar.gz
manaverse-3b999f51c740d0541c53d223518e5e4bb482d996.tar.bz2
manaverse-3b999f51c740d0541c53d223518e5e4bb482d996.tar.xz
manaverse-3b999f51c740d0541c53d223518e5e4bb482d996.zip
Quick fix for windows build to fix open settings issue.
-rw-r--r--src/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 9447ce4bb..d0348dec5 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -837,6 +837,7 @@ int Client::exec()
mSetupButton->setPosition(x, 3);
top->add(mSetupButton);
+#ifndef WIN32
mPerfomanceButton = new Button(
_("Perfomance"), "Perfomance", this);
x -= mPerfomanceButton->getWidth() + 6;
@@ -852,6 +853,7 @@ int Client::exec()
x -= mThemesButton->getWidth() + 6;
mThemesButton->setPosition(x, 3);
top->add(mThemesButton);
+#endif
int screenWidth = config.getIntValue("screenwidth");
int screenHeight = config.getIntValue("screenheight");