diff options
author | Arno <am@disconnect.de> | 2014-12-07 22:40:10 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2014-12-07 22:40:10 +0100 |
commit | 3adf6f859dd4d5df8e8fceacce74487814867e61 (patch) | |
tree | 5725a517b379ceeb30eda09fbe6a7405e5f6bbe8 /delegates.cpp | |
parent | 51bc87ebc73b5777ad36e35ec20445b07a0d7639 (diff) | |
download | SheMov-3adf6f859dd4d5df8e8fceacce74487814867e61.tar.gz SheMov-3adf6f859dd4d5df8e8fceacce74487814867e61.tar.bz2 SheMov-3adf6f859dd4d5df8e8fceacce74487814867e61.zip |
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!
Diffstat (limited to 'delegates.cpp')
-rw-r--r-- | delegates.cpp | 2 |
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"); } |