started to refactor Application

This commit is contained in:
fourtf
2018-07-07 11:41:01 +02:00
parent 6a418e6e59
commit c609a9fd37
32 changed files with 195 additions and 147 deletions
+1 -1
View File
@@ -676,7 +676,7 @@ void ChannelView::wheelEvent(QWheelEvent *event)
auto snapshot = this->getMessagesSnapshot();
int snapshotLength = int(snapshot.getLength());
int i = std::min(int(desired), snapshotLength);
int i = std::min<int>(int(desired), snapshotLength);
if (delta > 0) {
qreal scrollFactor = fmod(desired, 1);