diff options
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/textedit.cc | 2 |
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())) { |