added .pro.user file and new build directory to ignore file and removed a useless if statement.