summaryrefslogtreecommitdiff
path: root/src/gui/didyouknowwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/didyouknowwindow.cpp')
-rw-r--r--src/gui/didyouknowwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/didyouknowwindow.cpp b/src/gui/didyouknowwindow.cpp
index d7c44ebaa..003395d3b 100644
--- a/src/gui/didyouknowwindow.cpp
+++ b/src/gui/didyouknowwindow.cpp
@@ -136,7 +136,7 @@ void DidYouKnowWindow::loadFile(int num)
TranslationManager::translateFile(helpPath + file + ".txt",
translator, lines);
- for (unsigned int i = 0; i < lines.size(); ++i)
+ for (size_t i = 0, sz = lines.size(); i < sz; ++i)
mBrowserBox->addRow(lines[i]);
}