fix IconAction::setParent

In IconAction constructor action will be added to parent QWidget
(if set). setParent function must implement such behavour too.