Fix configure warning.

Following 38f6c3aed2d013089ba5e83afdf623b189902341, comment SHFLAGS line again.
QDateTime::secsTo() returns qint64 in Qt5, int in Qt4. Add cast.
there's no point in comparing frame number to key type

the .map file should now contain the same content as before addition
of proper duration support

Refs #10104
remove duplicate break;

left over from [1805637b] found by cppcheck
Add simple script + template to create a unit test.
remove unused variable

the build bots found a left over from [a7c6c881]
give the temporary variable the same type as the variable it holds
remove unused variable

appears to be a left over from work in [7e9c9d0c]
Merge remote-tracking branch 'upstream/master'