OSDN Git Service

Do not scan "/" for include files
authorAlessandro Portale <alessandro.portale@nokia.com>
Sun, 3 Oct 2010 07:28:03 +0000 (09:28 +0200)
committerAlessandro Portale <alessandro.portale@nokia.com>
Sun, 3 Oct 2010 07:28:03 +0000 (09:28 +0200)
commit493710c2ac31cc97a9095c32896fc3151ec549c8
treeb4a1a1acca620470a22d1fdcc9e0f83f46827406
parentb9d3c1f54ae4d952781a686b950f4b5f315bf5ac
Do not scan "/" for include files

The scanning phase was in some cases insanely long.
Reason was that Creator feeds wrong paths to the
CppModelManager, for example "/".

The scanning phase did what it was told to: scan that whole
Harddrive.

This patch makes sure that the scanning is not done for "/"

Done-With: Roberto
src/plugins/cpptools/cppmodelmanager.cpp