2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

xcode projects moved to qt 5.4.0

This commit is contained in:
John Preston
2015-02-11 23:38:44 +00:00
parent 585f31b6f2
commit 273f6955f0
12 changed files with 1554 additions and 1569 deletions

View File

@@ -183,20 +183,17 @@ namespace App {
case -2: {
QDate yesterday(date(now).date());
yesterday.addDays(-3);
return int32(QDateTime(yesterday).toTime_t());
return int32(QDateTime(yesterday.addDays(-3)).toTime_t());
} break;
case -3: {
QDate weekago(date(now).date());
weekago.addDays(-7);
return int32(QDateTime(weekago).toTime_t());
return int32(QDateTime(weekago.addDays(-7)).toTime_t());
} break;
case -4: {
QDate monthago(date(now).date());
monthago.addDays(-30);
return int32(QDateTime(monthago).toTime_t());
return int32(QDateTime(monthago.addDays(-30)).toTime_t());
} break;
}
return -online;