Commit 6b0483bf authored by Laurent Montel's avatar Laurent Montel
Browse files

Use std::chrono_literals

parent a490a662
......@@ -32,6 +32,9 @@
#include <QPainter>
#include <QPluginLoader>
#include <QTimer>
#include <chrono>
using namespace std::chrono_literals;
......@@ -105,7 +108,7 @@ KFileItemModelRolesUpdater::KFileItemModelRolesUpdater(KFileItemModel* model, QO
// Use a timer to prevent that each call of slotItemsChanged() results in a synchronous
// resolving of the roles. Postpone the resolving until no update has been done for 100 ms.
m_recentlyChangedItemsTimer = new QTimer(this);
connect(m_recentlyChangedItemsTimer, &QTimer::timeout, this, &KFileItemModelRolesUpdater::resolveRecentlyChangedItems);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment