2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +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

@@ -44,7 +44,7 @@ public:
int left,
int top,
int outerWidth,
TimeMs ms) override;
crl::time ms) override;
QImage prepareRippleMask() const override;
bool checkRippleStartPosition(QPoint position) const override;
@@ -72,7 +72,7 @@ void SectionToggle::paint(
int left,
int top,
int outerWidth,
TimeMs ms) {
crl::time ms) {
auto sqrt2 = sqrt(2.);
auto vLeft = rtlpoint(left + _st.skip, 0, outerWidth).x() + 0.;
auto vTop = top + _st.skip + 0.;