What if you set tree root index as - model.index(QDir::homePath()).parent() ?? Will that solve ur purpose ?
View Tag Cloud
Forum Rules
Bookmarks