Only update to valid Playlist index
Add config.h include to get QCA2_FOUND macro
Remove redudant operations
Fix comparison between signed and unsigned int
Result of drag->exec is not used