player.cpp: [Fix] Player slider does not reset when starting a new song (#1)

The timer and slider were not reset to 0 when the previous song was
stopped.
New configuration file for cppcheck
cppcheck error corrected