mirror of https://github.com/procxx/kepka.git
fix for os x build, 0.8.53.dev
This commit is contained in:
parent
9a51e2c7e3
commit
9ac90115d8
|
@ -68,7 +68,7 @@ OverviewInner::CachedLink::CachedLink(HistoryItem *item) : text(st::msgMinWidth)
|
|||
till = msgText.size();
|
||||
}
|
||||
if (till > from) {
|
||||
TextParseOptions opts = { TextParseMultiline, st::linksMaxWidth, 3 * st::msgFont->height, Qt::LayoutDirectionAuto };
|
||||
TextParseOptions opts = { TextParseMultiline, int32(st::linksMaxWidth), 3 * st::msgFont->height, Qt::LayoutDirectionAuto };
|
||||
text.setText(st::msgFont, msgText.mid(from, till - from), opts);
|
||||
}
|
||||
if (page && page->photo) {
|
||||
|
|
Loading…
Reference in New Issue