summaryrefslogtreecommitdiff
path: root/src/installationmanager.cpp
diff options
context:
space:
mode:
authorTannin <sherb@gmx.net>2016-05-07 00:03:38 +0200
committerTannin <sherb@gmx.net>2016-05-07 00:03:38 +0200
commiteb97c46ed68a965d6ddf44fa6741fa929fd7d278 (patch)
treef2c92e8a688faacdbd6285ac5b5bf5f91a5ee3e9 /src/installationmanager.cpp
parentd958e11e2b3cde75f481bdb734be10b4e1dda585 (diff)
cleanup
Diffstat (limited to 'src/installationmanager.cpp')
-rw-r--r--src/installationmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp
index 8ab27124..bf5ee91a 100644
--- a/src/installationmanager.cpp
+++ b/src/installationmanager.cpp
@@ -346,7 +346,8 @@ DirectoryTree *InstallationManager::createFilesTree()
// to uncheck all files in a directory while keeping the dir checked. Those directories are
// currently not installed.
DirectoryTree::Node *newNode = new DirectoryTree::Node;
- newNode->setData(DirectoryTreeInformation(*componentIter, i));
+ newNode->setData(
+ DirectoryTreeInformation(*componentIter, static_cast<int>(i)));
currentNode->addNode(newNode, false);
currentNode = newNode;
} else {