Fix #2579 (Error when importing books by dragging onto the GUI)

This commit is contained in:
Kovid Goyal 2009-06-11 12:42:39 -07:00
parent b45a202c87
commit 640f059912

View File

@ -726,7 +726,7 @@ class BooksView(TableView):
paths = self.paths_from_event(event) paths = self.paths_from_event(event)
event.setDropAction(Qt.CopyAction) event.setDropAction(Qt.CopyAction)
event.accept() event.accept()
self.emit(SIGNAL('files_dropped(PyQt_PyObject)'), paths, Qt.QueuedConnection) self.emit(SIGNAL('files_dropped(PyQt_PyObject)'), paths)
def set_database(self, db): def set_database(self, db):