diff --git a/kpilot/fileInstallWidget.cpp b/kpilot/fileInstallWidget.cpp index 9c0fc84..467393d 100644 --- a/kpilot/fileInstallWidget.cpp +++ b/kpilot/fileInstallWidget.cpp @@ -145,7 +145,7 @@ bool FileInstallWidget::eventFilter(TQObject *watched, TQEvent *event) { FUNCTIONSETUP; - if(TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(fIconView->viewport())) + if(watched == fIconView->viewport()) { if(event->type() == TQEvent::DragEnter) { dragEnterEvent(static_cast(event));