summaryrefslogtreecommitdiff
path: root/libsowatch/notification.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-10-02 16:39:40 +0200
committerJavier S. Pedro <maemo@javispedro.com>2011-10-02 16:39:40 +0200
commit0a656b75f3fc80f13424db0e7ec403dff28a366e (patch)
tree23f72a2fde3f718048b49d9806ded3d315d50a80 /libsowatch/notification.cpp
parentd9f132f3d5bf41ee4f30e7ea2bd1b61120fa29b7 (diff)
downloadsowatch-0a656b75f3fc80f13424db0e7ec403dff28a366e.tar.gz
sowatch-0a656b75f3fc80f13424db0e7ec403dff28a366e.zip
new notifications list, time syncing
Diffstat (limited to 'libsowatch/notification.cpp')
-rw-r--r--libsowatch/notification.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsowatch/notification.cpp b/libsowatch/notification.cpp
index e321b58..62a9b7d 100644
--- a/libsowatch/notification.cpp
+++ b/libsowatch/notification.cpp
@@ -15,7 +15,7 @@ QString Notification::displayTime() const
{
QDateTime dt = dateTime();
int secsDiff = dt.secsTo(QDateTime::currentDateTime());
- if (secsDiff < 1) {
+ if (secsDiff < 20) {
return "";
} else if (secsDiff < 60) {
return tr("%n second(s) ago", "", secsDiff);