mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
...
This commit is contained in:
parent
b714917862
commit
16c4e08146
@ -185,6 +185,9 @@ def question(dialog: QDialog):
|
|||||||
|
|
||||||
|
|
||||||
class OCR(baseocr):
|
class OCR(baseocr):
|
||||||
|
def langmap(self):
|
||||||
|
return {"cht": "cht"}
|
||||||
|
|
||||||
def initocr(self):
|
def initocr(self):
|
||||||
self._ocr = None
|
self._ocr = None
|
||||||
self._savelang = None
|
self._savelang = None
|
||||||
|
@ -48,6 +48,9 @@ def question(dialog: QDialog):
|
|||||||
|
|
||||||
|
|
||||||
class OCR(baseocr):
|
class OCR(baseocr):
|
||||||
|
def langmap(self):
|
||||||
|
return {"cht": "cht"}
|
||||||
|
|
||||||
def initocr(self):
|
def initocr(self):
|
||||||
self.supportmap = initsupports()
|
self.supportmap = initsupports()
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ include(generate_product_version)
|
|||||||
|
|
||||||
set(VERSION_MAJOR 5)
|
set(VERSION_MAJOR 5)
|
||||||
set(VERSION_MINOR 45)
|
set(VERSION_MINOR 45)
|
||||||
set(VERSION_PATCH 2)
|
set(VERSION_PATCH 3)
|
||||||
|
|
||||||
add_library(pch pch.cpp)
|
add_library(pch pch.cpp)
|
||||||
target_precompile_headers(pch PUBLIC pch.h)
|
target_precompile_headers(pch PUBLIC pch.h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user