mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 15:15:13 +00:00
Use crl::time/now instead of TimeMs/getms.
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user