fix a bug where the client blocks the finder(or explorer in windows)

...dropping a file
Attribute `Qt::WA_DeleteOnClose` is set for deleting itself when closing.