QSortFilterProxyModel - get root path
-
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...