2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Use crl::time/now instead of TimeMs/getms.

This commit is contained in:
John Preston
2019-02-19 10:57:53 +04:00
parent d208236994
commit fe618bd652
310 changed files with 1133 additions and 1141 deletions

View File

@@ -561,7 +561,7 @@ void ConfirmContactBox::paintEvent(QPaintEvent *e) {
p.fillRect(e->rect(), st::boxBg);
const auto ms = getms();
const auto ms = crl::now();
p.translate(st::boxPadding.left(), 0);
if (_comment) {
_comment->draw(p, rect(), TextSelection(), ms);
@@ -592,9 +592,9 @@ void ConfirmContactBox::elementAnimationAutoplayAsync(
not_null<const Element*> element) {
}
TimeMs ConfirmContactBox::elementHighlightTime(
crl::time ConfirmContactBox::elementHighlightTime(
not_null<const Element*> element) {
return TimeMs();
return crl::time();
}
bool ConfirmContactBox::elementInSelectionMode() {