It appears that this method is only connected to the [`clicked()`](https://github.com/enthought/traitsui/blob/master/traitsui/qt4/ui_base.py#L235) of `QPushButton`, which will not pass any arguments. The `event` argument can just be removed.