QSortFilterProxyModel - get root path
General and Desktop
3
Posts
2
Posters
1.6k
Views
1
Watching
-
I tried but I cannot seem to get the string rootpath correctly. Thus I connected a slot to the rootPathChanged signal for the QFileStringModel and set a QString rootPath variable I delcared.
@
void MainWindow::fsModel_rootPathChanged(QString str)
{
m_checkProxy->rootPath = str;
}
@NOTE: still don't know why I was unable to get it using the rootPath
Thanks for your response...