2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

enabled custom notifies in os x 10.7, added content image in os x native notifiers

This commit is contained in:
John Preston
2015-01-28 16:14:43 +03:00
parent 75a47e98c3
commit 61da0ff829
6 changed files with 23 additions and 13 deletions

View File

@@ -2448,7 +2448,6 @@ void MainWidget::updateOnline(bool gotOtherOffline) {
int updateIn = cOnlineUpdatePeriod();
if (isOnline) {
uint64 idle = psIdleTime();
LOG(("Idle: %1").arg(idle));
if (idle >= uint64(cOfflineIdleTimeout())) {
isOnline = false;
if (!_isIdle) {
@@ -2478,7 +2477,6 @@ void MainWidget::updateOnline(bool gotOtherOffline) {
} else if (isOnline) {
updateIn = qMin(updateIn, int(_lastSetOnline + cOnlineUpdatePeriod() - ms));
}
LOG(("UPDATE IN: %1").arg(updateIn));
_onlineTimer.start(updateIn);
}