diff options
Diffstat (limited to 'src/common/gui/list_view.cpp')
-rw-r--r-- | src/common/gui/list_view.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/gui/list_view.cpp b/src/common/gui/list_view.cpp index 4d5ac14..218241d 100644 --- a/src/common/gui/list_view.cpp +++ b/src/common/gui/list_view.cpp @@ -191,9 +191,9 @@ void EditListViewItem::removeEditBox() void EditListViewItem::editDone(int col, const TQWidget *edit) { - if ( edit->tqmetaObject()->tqfindProperty("text", true)!=-1 ) + if ( edit->tqmetaObject()->findProperty("text", true)!=-1 ) emit listView()->itemRenamed(this, col, edit->property("text").toString()); - else if ( edit->tqmetaObject()->tqfindProperty("currentText", true)!=-1 ) + else if ( edit->tqmetaObject()->findProperty("currentText", true)!=-1 ) emit listView()->itemRenamed(this, col, edit->property("currentText").toString()); } |