mirror of
https://github.com/Leseratte10/acsm-calibre-plugin.git
synced 2024-11-17 04:06:09 +06:00
Fix eReader auth in Calibre 6
This commit is contained in:
parent
bf4b6367bf
commit
55bea99913
|
@ -270,9 +270,9 @@ class ConfigWidget(QWidget):
|
|||
info_dialog(None, "Authorize eReader", msg, show=True, show_copy_button=False)
|
||||
|
||||
dialog = QFileDialog()
|
||||
dialog.setFileMode(QFileDialog.Directory)
|
||||
dialog.setFileMode(QFileDialog.FileMode.Directory)
|
||||
opts = dialog.options()
|
||||
opts |= QFileDialog.ShowDirsOnly
|
||||
opts |= QFileDialog.Option.ShowDirsOnly
|
||||
dialog.setOptions(opts)
|
||||
|
||||
if dialog.exec_():
|
||||
|
|
Loading…
Reference in New Issue
Block a user