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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user