summaryrefslogtreecommitdiff
path: root/plugingui/textedit.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-05-05 23:26:57 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-05-05 23:26:57 +0200
commit7d3115c7d4d449b5774330f7e1a12ea61cd7f313 (patch)
tree0d820f3b67b91591ec890ec494012efdfd6f88a9 /plugingui/textedit.cc
parent72e6e0401677740a286ab937194c61db1448e4c9 (diff)
Fix jenkins compile error.
Diffstat (limited to 'plugingui/textedit.cc')
-rw-r--r--plugingui/textedit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/textedit.cc b/plugingui/textedit.cc
index f57a1d4..ebe8d32 100644
--- a/plugingui/textedit.cc
+++ b/plugingui/textedit.cc
@@ -158,7 +158,7 @@ void TextEdit::repaintEvent(RepaintEvent* repaintEvent)
int ypos = font.textHeight() + y_border;
auto scroll_value = scroll.value();
- for(int i = 0; i < preprocessed_text.size() - scroll_value; ++i)
+ for(std::size_t i = 0; i < preprocessed_text.size() - scroll_value; ++i)
{
if(i * font.textHeight() >= (height() - y_border - font.textHeight()))
{