* Include ffpreview version number in index file and initial window title.
authorUrban Wallasch <urban.wallasch@freenet.de>
Tue, 18 May 2021 01:19:37 +0000 (03:19 +0200)
committerUrban Wallasch <urban.wallasch@freenet.de>
Tue, 18 May 2021 01:19:37 +0000 (03:19 +0200)
ffpreview.py

index 8c32aa8361b096f08974a3a8871772548988dc39..b22eef0f7d244629ebf1bffcdf4e6a43e6c20984 100755 (executable)
@@ -1162,6 +1162,7 @@ def get_thinfo(vfile, thdir):
         'scene_thresh': cfg['scene_thresh'],
         'customvf': cfg['customvf'],
         'date': 0,
+        'ffpreview': _FFPREVIEW_VERSION,
         'th': []
     }
     meta, ok = get_meta(vfile)
@@ -1299,7 +1300,7 @@ def main():
         os.environ['QT_LOGGING_RULES'] = 'qt5ct.debug=false'
     app = QApplication(sys.argv)
     app.setApplicationName('ffpreview')
-    root = sMainWindow(title='ffpreview')
+    root = sMainWindow(title='ffpreview %s' % _FFPREVIEW_VERSION)
 
     # start console debugging thread, if _FF_DEBUG is set
     if _FF_DEBUG: