From ee98d3a0a8b7feb9beafa84ad9d402bf8e2a1e46 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 30 Aug 2019 11:24:48 +0200 Subject: [PATCH] Nim: Work around deprecation warning Amends 67349baded2. Change-Id: Id1e7c455932c8cbf6f89601502a8c3ef049d2d6f Reviewed-by: Eike Ziller --- src/plugins/nim/project/nimbuildsystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/nim/project/nimbuildsystem.cpp b/src/plugins/nim/project/nimbuildsystem.cpp index e437ab73545..d5d34452d40 100644 --- a/src/plugins/nim/project/nimbuildsystem.cpp +++ b/src/plugins/nim/project/nimbuildsystem.cpp @@ -169,7 +169,7 @@ void NimBuildSystem::updateProject() newRoot->setDisplayName(project()->displayName()); project()->setRootProjectNode(std::move(newRoot)); - m_directoryWatcher.addDirectories(directories.toList(), FileSystemWatcher::WatchAllChanges); + m_directoryWatcher.addDirectories(Utils::toList(directories), FileSystemWatcher::WatchAllChanges); m_currentContext.guard.markAsSuccess();