[PyKDE] Extra args in KDialogBase.slotOk, slotCancel

Phil Thompson phil at riverbankcomputing.co.uk
Fri May 14 08:31:01 BST 2004

The fix will be in tonight's SIP4 snapshot. Rebuild both PyQt and PyKDE.


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,)

More information about the PyQt mailing list