diff --git a/rdlogmanager/import_listview.cpp b/rdlogmanager/import_listview.cpp index 7fdb553c..0476b5ac 100644 --- a/rdlogmanager/import_listview.cpp +++ b/rdlogmanager/import_listview.cpp @@ -472,16 +472,6 @@ void ImportListView::contentsMouseDoubleClickEvent(QMouseEvent *e) } -void ImportListView::focusOutEvent(QFocusEvent *e) -{ - Q3ListViewItem *item=selectedItem(); - if(item==NULL) { - return; - } - setSelected(item,false); -} - - void ImportListView::dragEnterEvent(QDragEnterEvent *e) { e->accept(RDCartDrag::canDecode(e)); diff --git a/rdlogmanager/import_listview.h b/rdlogmanager/import_listview.h index b6e9c85b..2083c461 100644 --- a/rdlogmanager/import_listview.h +++ b/rdlogmanager/import_listview.h @@ -61,7 +61,6 @@ class ImportListView : public Q3ListView protected: void contentsMousePressEvent(QMouseEvent *e); void contentsMouseDoubleClickEvent(QMouseEvent *e); - void focusOutEvent(QFocusEvent *e); void dragEnterEvent(QDragEnterEvent *e); void dropEvent(QDropEvent *e); diff --git a/rdlogmanager/lib_listview.cpp b/rdlogmanager/lib_listview.cpp index 9e00c8f6..7a0af8a5 100644 --- a/rdlogmanager/lib_listview.cpp +++ b/rdlogmanager/lib_listview.cpp @@ -29,16 +29,6 @@ LibListView::LibListView(QWidget *parent) } -void LibListView::focusOutEvent(QFocusEvent *e) -{ - Q3ListViewItem *item=selectedItem(); - if(item==NULL) { - return; - } - setSelected(item,false); -} - - void LibListView::contentsMousePressEvent(QMouseEvent *e) { Q3ListView::contentsMousePressEvent(e); diff --git a/rdlogmanager/lib_listview.h b/rdlogmanager/lib_listview.h index 331b890c..c683c518 100644 --- a/rdlogmanager/lib_listview.h +++ b/rdlogmanager/lib_listview.h @@ -37,7 +37,6 @@ class LibListView : public Q3ListView LibListView(QWidget *parent); protected: - void focusOutEvent(QFocusEvent *e); void contentsMousePressEvent(QMouseEvent *e); };