From ef9e8793c77683b46a99daf6a57ca05facc44752 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Apr 2016 22:00:34 +0300 Subject: Fix code style. --- src/gui/models/updatelistmodel.h | 4 +++- src/gui/palette.cpp | 4 ++-- src/gui/windows/questswindow.cpp | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/gui') diff --git a/src/gui/models/updatelistmodel.h b/src/gui/models/updatelistmodel.h index bddc7c2a2..37d5a8d12 100644 --- a/src/gui/models/updatelistmodel.h +++ b/src/gui/models/updatelistmodel.h @@ -39,7 +39,9 @@ class UpdateListModel final : public ListModel mNames(), mServer(server) { - FOR_EACH(std::vector::const_iterator, it, server->updateHosts) + FOR_EACH(std::vector::const_iterator, + it, + server->updateHosts) { const HostsGroup &group = *it; mNames.push_back(group.name); diff --git a/src/gui/palette.cpp b/src/gui/palette.cpp index 0e3f9560c..cedfb0f86 100644 --- a/src/gui/palette.cpp +++ b/src/gui/palette.cpp @@ -132,7 +132,7 @@ void Palette::advanceGradient() else if (grad == GradientType::SPECTRUM) { if (colIndex % 2) - { // falling curve + { // falling curve if (delay) { colVal = CAST_S32(255.0 * @@ -145,7 +145,7 @@ void Palette::advanceGradient() } } else - { // ascending curve + { // ascending curve if (delay) { colVal = CAST_S32(255.0 * (cos(M_PI * diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp index 080c0bdd2..eed82636b 100644 --- a/src/gui/windows/questswindow.cpp +++ b/src/gui/windows/questswindow.cpp @@ -563,7 +563,7 @@ void QuestsWindow::updateEffects() { // in new list exists effect for this npc const QuestEffect *const newEffect = (*itNew).second; if (effect != newEffect) - { // new effects is not equal to old effect + { // new effects is not equal to old effect addEffects[id] = newEffect->effectId; removeEffects.insert(id); } -- cgit v1.2.3-70-g09d2