getting rid of tons of warnings

This commit is contained in:
confuseh
2017-01-18 13:48:42 +00:00
parent 528f539fca
commit 5eb7349b57
13 changed files with 98 additions and 69 deletions
+2 -1
View File
@@ -6,6 +6,7 @@
#include "word.h"
#include "wordpart.h"
#include <math.h>
#include <QPainter>
#include <QScroller>
#include <functional>
@@ -105,7 +106,7 @@ ChatWidgetView::paintEvent(QPaintEvent *)
}
int y = -(messages[start].get()->getHeight() *
(std::fmod(this->scrollbar.getValue(), 1)));
(fmod(this->scrollbar.getValue(), 1)));
for (int i = start; i < messages.size(); ++i) {
Message *message = messages[i].get();