summaryrefslogtreecommitdiffstats
path: root/helper.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-12-09 05:54:30 +0100
committerArno <arno@disconnect.de>2018-12-09 05:54:30 +0100
commit3a4a4a779d4066b9c89e948fb58db3d17f6e5fc3 (patch)
tree342bbff8c9360abaa789ed15a1fe0b8f2e569cfd /helper.h
parent7591758968121d6b59bb090e8f1e6ca65ffa10d8 (diff)
downloadShemovCleaner-3a4a4a779d4066b9c89e948fb58db3d17f6e5fc3.tar.gz
ShemovCleaner-3a4a4a779d4066b9c89e948fb58db3d17f6e5fc3.tar.bz2
ShemovCleaner-3a4a4a779d4066b9c89e948fb58db3d17f6e5fc3.zip
Fix implicit casts in FileDisplay
Turn Duration(qint64) into Duration(int) to avoid implicit casts. INT_MAX is good for 68 years of video, that should be enough for everyone :)
Diffstat (limited to 'helper.h')
-rw-r--r--helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper.h b/helper.h
index 4883a5f..828bf1c 100644
--- a/helper.h
+++ b/helper.h
@@ -17,7 +17,7 @@ namespace Helper {
class Duration {
public:
Duration();
- Duration(qint64 seconds);
+ Duration(int seconds);
Duration(const QString &dur);
Duration operator+(const Duration &dur) const;
const QString toString() const;