Ver código fonte

Added a simple timestamp to the GUI footer to make debugging easier

Cyamond 5 anos atrás
pai
commit
6e8fdc22c9
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      gui/src/FooterForm.ui.qml

+ 1 - 1
gui/src/FooterForm.ui.qml

@@ -11,7 +11,7 @@ Page {
     Connections {
         target: _qmlHandler
         onLog: {
-            footerLog.append(logText)
+            footerLog.append(new Date().toLocaleTimeString(Qt.locale("de_DE"), "[hh:mm:ss]\n") + logText)
             footerFlickable.contentY = footerLog.height - footerFlickable.height
         }