Commit 0d849b9f authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

ProjectExplorer: Add a soft assertion



Task-number: QTCREATORBUG-15246
Change-Id: Ide3d94f6a72579626feb0f031c5381518db45326
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 9bee9d53
......@@ -276,6 +276,7 @@ int ProjectTreeWidget::expandedCount(Node *node)
void ProjectTreeWidget::rowsInserted(const QModelIndex &parent, int start, int end)
{
Node *node = m_model->nodeForIndex(parent);
QTC_ASSERT(node, return);
const QString path = node->path().toString();
const QString displayName = node->displayName();
......
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