I am trying to figure out why my signal isn't connecting, I have the following code:
connect(mFileTree, SIGNAL(itemSelectionChanged()), this, SLOT(OnItemSelected()));
Yet it doesn't fire. mFileTree is a QTreeView there is a function called
void mlMainWindow::OnItemSelected()
That is being referenced in my header under
protected slots:
void OnItemSelected();
So I dunno what is going on here. Any advice?If this isn't the correct signal name or what have you, what is the correct signal and arguments? The QTreeView has the contents of a QFileSystemModel