From 3c404128c4669a1f4f190e20a89553677717fc50 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Sep 2016 22:01:44 +0300 Subject: Add missing comments into defines. --- src/gui/dialogsmanager.cpp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'src/gui/dialogsmanager.cpp') diff --git a/src/gui/dialogsmanager.cpp b/src/gui/dialogsmanager.cpp index ec4da8119..9cfc69342 100644 --- a/src/gui/dialogsmanager.cpp +++ b/src/gui/dialogsmanager.cpp @@ -39,7 +39,7 @@ #include "gui/windows/updaterwindow.h" #include "listeners/playerpostdeathlistener.h" -#endif +#endif // DYECMD #include "listeners/weightlistener.h" @@ -53,7 +53,7 @@ #ifdef WIN32 #undef ERROR -#endif +#endif // WIN32 OkDialog *deathNotice = nullptr; DialogsManager *dialogsManager = nullptr; @@ -66,7 +66,7 @@ namespace PlayerPostDeathListener postDeathListener; WeightListener weightListener; } // namespace -#endif +#endif // DYECMD DialogsManager::DialogsManager() : AttributeListener(), @@ -84,7 +84,8 @@ void DialogsManager::closeDialogs() SellDialog::closeAll(); if (inventoryHandler) inventoryHandler->destroyStorage(); -#endif +#endif // DYECMD + if (deathNotice) { deathNotice->scheduleDelete(); @@ -100,7 +101,7 @@ void DialogsManager::createUpdaterWindow() settings.oldUpdates, false, UpdateType::Normal); -#endif +#endif // DYECMD } Window *DialogsManager::openErrorDialog(const std::string &header, @@ -153,7 +154,7 @@ void DialogsManager::playerDeath() 260); deathNotice->addActionListener(&postDeathListener); } -#endif +#endif // DYECMD } #ifndef DYECMD @@ -211,10 +212,11 @@ void DialogsManager::attributeChanged(const AttributesT id, } } } -#else +#else // DYECMD + void DialogsManager::attributeChanged(const AttributesT id A_UNUSED, const int oldVal A_UNUSED, const int newVal A_UNUSED) { } -#endif +#endif // DYECMD -- cgit v1.2.3-70-g09d2