Merge remote-tracking branch 'origin/4.11'

Change-Id: I65ce6aa917219a8f8b91b48c7077f8097248375c
This commit is contained in:
Orgad Shaneh
2020-02-05 18:36:07 +02:00
6 changed files with 156 additions and 141 deletions

View File

@@ -360,6 +360,8 @@ void ProjectTreeWidget::rowsInserted(const QModelIndex &parent, int start, int e
Node *ProjectTreeWidget::nodeForFile(const FilePath &fileName)
{
if (fileName.isEmpty())
return nullptr;
Node *bestNode = nullptr;
int bestNodeExpandCount = INT_MAX;