mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
fix
This commit is contained in:
parent
f28d19291c
commit
0a5e6cfbf8
@ -2806,7 +2806,10 @@ class viewpixmap_x(QWidget):
|
||||
self.centerwidget.setVisible(False)
|
||||
self.pathandopen.setText(path)
|
||||
self.pathview.setText(path)
|
||||
timestamp = get_time_stamp(ct=os.path.getctime(path), ms=False)
|
||||
try:
|
||||
timestamp = get_time_stamp(ct=os.path.getctime(path), ms=False)
|
||||
except:
|
||||
timestamp = None
|
||||
self.infoview.setText(timestamp)
|
||||
self.commentedit.setPlainText(extradatas.get("imagecomment", {}).get(path, ""))
|
||||
self.timenothide.setText(timestamp)
|
||||
|
@ -29,7 +29,7 @@ include(generate_product_version)
|
||||
|
||||
set(VERSION_MAJOR 5)
|
||||
set(VERSION_MINOR 15)
|
||||
set(VERSION_PATCH 8)
|
||||
set(VERSION_PATCH 9)
|
||||
|
||||
add_library(pch pch.cpp)
|
||||
target_precompile_headers(pch PUBLIC pch.h)
|
||||
|
Loading…
x
Reference in New Issue
Block a user