summaryrefslogtreecommitdiff
path: root/src/gui/statuswindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/statuswindow.cpp')
-rw-r--r--src/gui/statuswindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp
index eee832ec..c2486b89 100644
--- a/src/gui/statuswindow.cpp
+++ b/src/gui/statuswindow.cpp
@@ -301,9 +301,9 @@ void StatusWindow::event(Event::Channel channel,
void StatusWindow::updateAttrs()
{
- for (auto it = mAttrs.begin(); it != mAttrs.end(); it++)
+ for (auto &attr : mAttrs)
{
- it->second->update();
+ attr.second->update();
}
}