diff options
Diffstat (limited to 'kregexpeditor/drag.cpp')
-rw-r--r-- | kregexpeditor/drag.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kregexpeditor/drag.cpp b/kregexpeditor/drag.cpp index 51197a4..9c2b1ca 100644 --- a/kregexpeditor/drag.cpp +++ b/kregexpeditor/drag.cpp @@ -37,13 +37,13 @@ bool RegExpWidgetDrag::canDecode( TQDragMoveEvent* event ) } RegExpWidget* RegExpWidgetDrag::decode(TQDropEvent* event, RegExpEditorWindow* window, - TQWidget* tqparent) + TQWidget* parent) { TQByteArray payload = event->tqencodedData("KRegExpEditor/widgetdrag" ); TQTextStream stream( payload, IO_ReadOnly ); TQString str = stream.read(); RegExp* regexp = WidgetFactory::createRegExp( str ); - RegExpWidget* widget = WidgetFactory::createWidget( regexp, window, tqparent ); + RegExpWidget* widget = WidgetFactory::createWidget( regexp, window, parent ); delete regexp; return widget; } |