[PyKDE] Extra args in KDialogBase.slotOk, slotCancel

Phil Thompson phil at riverbankcomputing.co.uk
Thu May 13 23:40:00 BST 2004


Looks like this is a SIP4 bug (I haven't checked SIP3).

Phil

On Thursday 13 May 2004 8:55 pm, Troy Melhase wrote:

On Thursday 13 May 2004 07:42 am, Jim Bublitz wrote:
> Could you post a short example, or at least your slotOK method and the
> connect stmt that goes with it? As you indicate, neither the sip files nor
> KDE ask for any arguments (other than the implicit 'self' of course) and
> neither does the C++ code sip generates (kdeuipart1.cpp, line 244,785 for
> those who want to play along).

I've attached a small example that exhibits this weirdness on my system.  
After clicking the ok and cancel buttons in the dialog, the script printed 
this to my terminal:


        slotOk was passed extra arguments (7.7737446446742396e-270,)
        slotCancel was passed extra arguments (7.7737446446742396e-270,)

Odd, yes?




More information about the PyQt mailing list