From 3adf6f859dd4d5df8e8fceacce74487814867e61 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 7 Dec 2014 22:40:10 +0100 Subject: Major revamp of the file Manager Nothing is async any more. Didn't work, anyway. Instead show a QProgressDialog when gathering data. Was kinda surprising that processEvents has to be called explicitly... Well, done! --- delegates.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'delegates.cpp') diff --git a/delegates.cpp b/delegates.cpp index ae99241..927726c 100644 --- a/delegates.cpp +++ b/delegates.cpp @@ -84,7 +84,7 @@ QString DurationDelegate::displayText(const QVariant &value, const QLocale &loca if(value.toString().contains("x")){ return value.toString(); } - qint64 secs = value.toInt(); + int secs = value.toFloat(); if(secs == 0){ return tr("n/a"); } -- cgit v1.2.3-70-g09d2