Little logspam fix

Fingers crossed it is just logspam
This commit is contained in:
Hydrus Network Developer 2023-09-06 17:13:54 -05:00
parent 7d63c5d90c
commit f538a155d9
No known key found for this signature in database
GPG Key ID: 76249F053212133C
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ def LoadPDF( path: str ):
try:
# needs an object parent param, and a permanent one, in PyQt6
document = QtPdf.QPdfDocument( HG.client_controller.app )
# it wants an Object in PyQt6, but giving it None is better since we are outside the Qt thread here
document = QtPdf.QPdfDocument( None )
document.load( path )