Fix crash when opening a project in debug mode
Fix crash when opening a project in debug mode

rootProjectNode is not assigned yet in startupProjectChanged. When it is
assigned, it invokes fileListChanged, which calls this slot again anyway.

OneMoreGres/qtc-cppcheck,OneMoreGres/qtc-cppcheck