2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Updated Xcode build for using standard library.

Also trying to use g++-6 for travis build.
This commit is contained in:
John Preston
2017-02-21 17:37:53 +03:00
parent ffc557a0f9
commit 755325fef3
24 changed files with 57 additions and 35 deletions

View File

@@ -215,8 +215,8 @@ void DialogsInner::paintRegion(Painter &p, const QRegion &region, bool paintingO
}
} else if (_state == FilteredState || _state == SearchedState) {
if (!_hashtagResults.empty()) {
int32 from = floorclamp(r.y(), st::mentionHeight, 0, _hashtagResults.size());
int32 to = ceilclamp(r.y() + r.height(), st::mentionHeight, 0, _hashtagResults.size());
auto from = floorclamp(r.y(), st::mentionHeight, 0, _hashtagResults.size());
auto to = ceilclamp(r.y() + r.height(), st::mentionHeight, 0, _hashtagResults.size());
p.translate(0, from * st::mentionHeight);
if (from < _hashtagResults.size()) {
auto htagwidth = fullWidth - st::dialogsPadding.x() * 2;