Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2018-01-24 00:51:25 +0300
committerOlivier Goffart <olivier@woboq.com>2018-01-25 16:07:08 +0300
commiteae00f9969e92eca156419b21c02db31a6257889 (patch)
tree2d7179b02020a55513b305c6cf16c798397815b6 /src/gui/activitywidget.cpp
parent02988229b13f472fc52ec671e061a46d644e6b84 (diff)
Use std::chrono::milliseconds to represent milliseconds
Diffstat (limited to 'src/gui/activitywidget.cpp')
-rw-r--r--src/gui/activitywidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/activitywidget.cpp b/src/gui/activitywidget.cpp
index 8a29d9152..e47e0262b 100644
--- a/src/gui/activitywidget.cpp
+++ b/src/gui/activitywidget.cpp
@@ -544,10 +544,10 @@ ActivitySettings::ActivitySettings(QWidget *parent)
_tab->setCurrentIndex(1);
}
-void ActivitySettings::setNotificationRefreshInterval(quint64 interval)
+void ActivitySettings::setNotificationRefreshInterval(std::chrono::milliseconds interval)
{
- qCDebug(lcActivity) << "Starting Notification refresh timer with " << interval / 1000 << " sec interval";
- _notificationCheckTimer.start(interval);
+ qCDebug(lcActivity) << "Starting Notification refresh timer with " << interval.count() / 1000 << " sec interval";
+ _notificationCheckTimer.start(interval.count());
}
void ActivitySettings::setActivityTabHidden(bool hidden)