From 8a3adb5dc695fec3f4db5f0705c53687862fb801 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 28 Feb 2012 21:33:08 +0300 Subject: Add some missing debug includes. --- src/gui/widgets/button.cpp | 2 +- src/gui/widgets/setupitem.cpp | 2 ++ src/utils/checkutils.cpp | 2 ++ src/utils/physfsrwops.cpp | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src') 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 +#include "debug.h" + SetupItem::SetupItem(std::string text, std::string description, std::string keyName, SetupTabScroll *parent, std::string eventName, bool mainConfig) : diff --git a/src/utils/checkutils.cpp b/src/utils/checkutils.cpp index 64bb42d0c..abbc6138a 100644 --- a/src/utils/checkutils.cpp +++ b/src/utils/checkutils.cpp @@ -24,6 +24,8 @@ #include "logger.h" +#include "debug.h" + bool reportFalseReal(bool val, const char* file, unsigned line) { if (!val) diff --git a/src/utils/physfsrwops.cpp b/src/utils/physfsrwops.cpp index 2675b89ae..19b08d4c7 100644 --- a/src/utils/physfsrwops.cpp +++ b/src/utils/physfsrwops.cpp @@ -27,6 +27,8 @@ #include "localconsts.h" +#include "debug.h" + static int physfsrwops_seek(SDL_RWops *rw, int offset, int whence) { PHYSFS_file *handle = static_cast(rw->hidden.unknown.data1); -- cgit v1.2.3-70-g09d2