2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-18 14:00:09 +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

@@ -174,7 +174,7 @@ void paintRow(
QDateTime date,
int fullWidth,
base::flags<Flag> flags,
TimeMs ms,
crl::time ms,
PaintItemCallback &&paintItemCallback,
PaintCounterCallback &&paintCounterCallback) {
const auto supportMode = Auth().supportMode();
@@ -530,7 +530,7 @@ void RowPainter::paint(
bool active,
bool selected,
bool onlyBackground,
TimeMs ms) {
crl::time ms) {
const auto entry = row->entry();
const auto history = row->history();
const auto peer = history ? history->peer.get() : nullptr;
@@ -669,7 +669,7 @@ void RowPainter::paint(
bool active,
bool selected,
bool onlyBackground,
TimeMs ms,
crl::time ms,
bool displayUnreadInfo) {
auto item = row->item();
auto history = item->history();