Made Linux input compile again, and fixed some Qt warnings.