summaryrefslogtreecommitdiff
path: root/src/gui/windows/socialwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/socialwindow.cpp')
-rw-r--r--src/gui/windows/socialwindow.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp
index 498ffc827..5b465161a 100644
--- a/src/gui/windows/socialwindow.cpp
+++ b/src/gui/windows/socialwindow.cpp
@@ -41,7 +41,7 @@
#include "gui/widgets/tabs/socialguildtab2.h"
#include "net/tmwa/guildmanager.h"
-#endif
+#endif // TMWA_SUPPORT
#include "debug.h"
@@ -313,9 +313,10 @@ void SocialWindow::action(const ActionEvent &event)
guildHandler->inviteResponse(mGuildInvited, true);
else
guildManager->inviteResponse(true);
-#else
+#else // TMWA_SUPPORT
+
guildHandler->inviteResponse(mGuildInvited, true);
-#endif
+#endif // TMWA_SUPPORT
}
else if (eventId == "no")
{
@@ -332,9 +333,10 @@ void SocialWindow::action(const ActionEvent &event)
guildHandler->inviteResponse(mGuildInvited, false);
else
guildManager->inviteResponse(false);
-#else
+#else // TMWA_SUPPORT
+
guildHandler->inviteResponse(mGuildInvited, false);
-#endif
+#endif // TMWA_SUPPORT
}
mGuildInvited = 0;
@@ -657,4 +659,4 @@ void SocialWindow::logicChildren()
BasicContainer::logicChildren();
BLOCK_END("SocialWindow::logicChildren")
}
-#endif
+#endif // USE_PROFILER