This commit is contained in:
恍兮惚兮 2024-10-20 20:55:17 +08:00
parent b714917862
commit 16c4e08146
3 changed files with 7 additions and 1 deletions

View File

@ -185,6 +185,9 @@ def question(dialog: QDialog):
class OCR(baseocr):
def langmap(self):
return {"cht": "cht"}
def initocr(self):
self._ocr = None
self._savelang = None

View File

@ -48,6 +48,9 @@ def question(dialog: QDialog):
class OCR(baseocr):
def langmap(self):
return {"cht": "cht"}
def initocr(self):
self.supportmap = initsupports()

View File

@ -29,7 +29,7 @@ include(generate_product_version)
set(VERSION_MAJOR 5)
set(VERSION_MINOR 45)
set(VERSION_PATCH 2)
set(VERSION_PATCH 3)
add_library(pch pch.cpp)
target_precompile_headers(pch PUBLIC pch.h)