Commit 5c248233 authored by Daniel Teske's avatar Daniel Teske
Browse files

SelectableFilesModel: Fix null pointer in internalPointer

Task-number: QTCREATORBUG-11320

Change-Id: I18154b7079e760ff363e92e2ec82542592b70e5b
Reviewed-by: default avatarDaniel Teske <>
parent 7e30653f
......@@ -49,6 +49,9 @@ SelectableFilesModel::SelectableFilesModel(QObject *parent)
: QAbstractItemModel(parent), m_root(0), m_allFiles(true)
connect(&m_watcher, SIGNAL(finished()), this, SLOT(buildTreeFinished()));
m_root = new Tree;
m_root->parent = 0;
void SelectableFilesModel::setInitialMarkedFiles(const QStringList &files)
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