End the painter in ctkBasePopupWidget...
End the painter in ctkBasePopupWidget...

... before calling its superclass paintEvent.
Credits go to Jim Miller <millerjv@ge.com>

naucoin/CTK,pieper/CTK,151706061/CTK,Sardge/CTK,151706061/CTK,commontk/CTK,Sardge/CTK,ddao/CTK,finetjul/CTK,lassoan/CTK,vovythevov/CTK,SINTEFMedtek/CTK,pieper/CTK,danielknorr/CTK,finetjul/CTK,SINTEFMedtek/CTK,vovythevov/CTK,espakm/CTK,naucoin/CTK,jcfr/CTK,151706061/CTK,commontk/CTK,msmolens/CTK,vovythevov/CTK,ddao/CTK,jcfr/CTK,msmolens/CTK,laurennlam/CTK,mehrtash/CTK,AndreasFetzer/CTK,Heather/CTK,rkhlebnikov/CTK,msmolens/CTK,laurennlam/CTK,mehrtash/CTK,CJGoch/CTK,pieper/CTK,CJGoch/CTK,danielknorr/CTK,rkhlebnikov/CTK,msmolens/CTK,Heather/CTK,fedorov/CTK,ddao/CTK,lassoan/CTK,pieper/CTK,commontk/CTK,Heather/CTK,fedorov/CTK,Sardge/CTK,finetjul/CTK,laurennlam/CTK,SINTEFMedtek/CTK,jcfr/CTK,naucoin/CTK,naucoin/CTK,mehrtash/CTK,151706061/CTK,fedorov/CTK,Sardge/CTK,Heather/CTK,CJGoch/CTK,commontk/CTK,fedorov/CTK,lassoan/CTK,vovythevov/CTK,CJGoch/CTK,151706061/CTK,espakm/CTK,rkhlebnikov/CTK,CJGoch/CTK,danielknorr/CTK,AndreasFetzer/CTK,jcfr/CTK,sankhesh/CTK,ddao/CTK,espakm/CTK,danielknorr/CTK,jcfr/CTK,mehrtash/CTK,SINTEFMedtek/CTK,sankhesh/CTK,rkhlebnikov/CTK,SINTEFMedtek/CTK,sankhesh/CTK,espakm/CTK,AndreasFetzer/CTK,laurennlam/CTK,finetjul/CTK,AndreasFetzer/CTK,lassoan/CTK,sankhesh/CTK