[SCM] ktp-common-internals packaging branch, master, updated. debian/16.04.2-1-111-g6e00b1c

Maximiliano Curia maxy at moszumanska.debian.org
Tue Sep 12 14:08:54 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=b814213

The following commit has been merged in the master branch:
commit b814213ac6cfdcdbfab3986fed15ed4732168e95
Author: Alexandr Akulich <akulichalexander at gmail.com>
Date:   Wed Aug 31 21:30:31 2016 +0500

    [debugger] Fixed timestamp format (ms width)
    
    Unfixed ms width ("%d") leads to vary digits from 1 to 6.
    Now the width is statically 6 digits, filled with leading zeros ("%06d")
    
    REVIEW: 128809
---
 tools/debugger/debug-message-view.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/debugger/debug-message-view.cpp b/tools/debugger/debug-message-view.cpp
index b29bc71..af09715 100644
--- a/tools/debugger/debug-message-view.cpp
+++ b/tools/debugger/debug-message-view.cpp
@@ -217,7 +217,7 @@ static inline QString formatTimestamp(double timestamp)
     }
 
     QString str;
-    str.sprintf("%s.%d", time_str, ms);
+    str.sprintf("%s.%06d", time_str, ms);
     return str;
 }
 

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list