since you couldn't see the difference, mhsp, no doubt you'll be happy with that 20-40.
however, for the record, and for more discriminating future purchasers, fenwoodian was correct, certain wide pentax primes would have given better pq than any pentax zoom... that's why camera companies make primes
if zooms were better, there would be no market for primes.
more relevant to pentax ff... in his latest comparison test, tim devine put the k28/3.5 on his new 42mp a7rii, and compared it to some other legacy primes, and once again he liked pentax, but you can judge that for yourself:
Legacy 28mm Shootout Redux (A7R II) - FM Forums
there is also a link in there to his previous tests, with input from others, including some fa31 photos... all with full-size unmolested photos, which is the only way to judge the quality of camera lenses.
looking at the old thread, i think that the fa31 is better than the k28, but the difference in focal lengths makes it difficult to pick a winner.