summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-28 21:33:08 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-28 21:33:08 +0300
commit8a3adb5dc695fec3f4db5f0705c53687862fb801 (patch)
tree37809579bdc856c62cc99360ee17262d415ff03a /src/gui/widgets
parent6ffd428383326c7b77e1b5e1777ae3a9f2e4156b (diff)
downloadmanaverse-8a3adb5dc695fec3f4db5f0705c53687862fb801.tar.gz
manaverse-8a3adb5dc695fec3f4db5f0705c53687862fb801.tar.bz2
manaverse-8a3adb5dc695fec3f4db5f0705c53687862fb801.tar.xz
manaverse-8a3adb5dc695fec3f4db5f0705c53687862fb801.zip
Add some missing debug includes.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/button.cpp2
-rw-r--r--src/gui/widgets/setupitem.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp
index 10a64a3d3..b430dfebb 100644
--- a/src/gui/widgets/button.cpp
+++ b/src/gui/widgets/button.cpp
@@ -447,5 +447,5 @@ void Button::adjustSize()
void Button::setCaption(const std::string& caption)
{
mCaption = caption;
- adjustSize();
+// adjustSize();
}
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp
index 7c15ea785..b3a018813 100644
--- a/src/gui/widgets/setupitem.cpp
+++ b/src/gui/widgets/setupitem.cpp
@@ -47,6 +47,8 @@
#include <guichan/font.hpp>
+#include "debug.h"
+
SetupItem::SetupItem(std::string text, std::string description,
std::string keyName, SetupTabScroll *parent,
std::string eventName, bool mainConfig) :