> Because QListView does not seem to emit the contextMenuRequested signal
> unless you click on a QListViewItem. At least that is what happens here.
> May be I should report this as a bug to the Trolls. Can you test to see if
> it works for you without that function ?
^^^^^^^^
the re-implementation.