diff options
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqdragobject.cpp')
-rw-r--r-- | tqtinterface/qt4/src/kernel/tqdragobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqdragobject.cpp b/tqtinterface/qt4/src/kernel/tqdragobject.cpp index 579eab8..c062bfd 100644 --- a/tqtinterface/qt4/src/kernel/tqdragobject.cpp +++ b/tqtinterface/qt4/src/kernel/tqdragobject.cpp @@ -2136,8 +2136,8 @@ bool TQDragObject::drag( DragMode mode ) TQWidget * TQDragObject::source() { - if ( tqparent() && tqparent()->isWidgetType() ) - return (TQWidget *)tqparent(); + if ( parent() && parent()->isWidgetType() ) + return (TQWidget *)parent(); else return 0; } |