Commit 8d448b72 authored by dt_'s avatar dt_ Committed by Daniel Teske
Browse files

Generic Project Wizard: Fix Icon of root item in edit files

Change-Id: I4d42bca662207ad9f8ee8db55d88f4618b1ccc2d
Reviewed-on: http://codereview.qt.nokia.com/697

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 55b11db1
......@@ -49,6 +49,7 @@ SelectableFilesModel::SelectableFilesModel(const QString &baseDir, QObject *pare
m_root = new Tree;
m_root->name = "/";
m_root->parent = 0;
m_root->fullPath = m_baseDir;
}
void SelectableFilesModel::setInitialMarkedFiles(const QStringList &files)
......@@ -72,6 +73,7 @@ void SelectableFilesModel::startParsing()
m_rootForFuture = new Tree;
m_rootForFuture->name = "/";
m_rootForFuture->parent = 0;
m_rootForFuture->fullPath = m_baseDir;
connect(&m_watcher, SIGNAL(finished()), this, SLOT(buildTreeFinished()));
m_watcher.setFuture(QtConcurrent::run(&SelectableFilesModel::run, this));
......
Markdown is supported
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