This commit is contained in:
恍兮惚兮 2024-07-25 13:31:05 +08:00
parent f28d19291c
commit 0a5e6cfbf8
2 changed files with 5 additions and 2 deletions

View File

@ -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)

View File

@ -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)