mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-04 20:01:58 +02:00
[ui] remove old thumbnails from disk cache when launching app
This commit is contained in:
parent
1819eacbdb
commit
7566544164
2 changed files with 48 additions and 2 deletions
|
@ -121,6 +121,9 @@ class MeshroomApp(QApplication):
|
|||
if thumbnailDir is not None:
|
||||
ThumbnailCache.thumbnailDir = thumbnailDir
|
||||
|
||||
# Clean thumbnail directory
|
||||
ThumbnailCache.clean()
|
||||
|
||||
# QML engine setup
|
||||
qmlDir = os.path.join(pwd, "qml")
|
||||
url = os.path.join(qmlDir, "main.qml")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue