View Single Post
Old 12-03-2016, 10:36 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,904
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
On second thoughts forwarding the signal will not work in your case, because it does not pass a reference to the QMenu object, so you will not get access to the cloned menu. You can instead just directly connect to the selection change signal from gui.library_view and modify the menu there rather than in aboutToShow.
kovidgoyal is offline   Reply With Quote