From 3a4a4a779d4066b9c89e948fb58db3d17f6e5fc3 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 9 Dec 2018 05:54:30 +0100 Subject: 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 :) --- helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helper.h') 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; -- cgit v1.2.3-70-g09d2