View Single Post
Old 03-15-2021, 09:23 AM   #382
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by capink View Post
I tried QTimer.singleShot(0, ...) and for some reason it is not working (print() returns the name of the device during the disconnect event.). I started playing with timeout value and found that QTimer.singleShot(5000, ...) works. I will add this to next release (I should have one later tonight or tomorrow). However, I am not sure this will solve the problem if it occurs outside the action chains disconnect event.
A fix is in calibre source now. Try that before you change anything.
chaley is offline   Reply With Quote