summaryrefslogtreecommitdiffstats
path: root/delegates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegates.cpp')
-rw-r--r--delegates.cpp2
1 files changed, 1 insertions, 1 deletions
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");
}