Sorry... Not the case (in the US). Pilots/Flight Attendants do get paid hourly, but only while the door is closed on the plane (plus per-diem). Pilots are limited to something like just over 1,000hours in a year because of all the extra time going to-from the airport and prepping for the flight... But none of the "extra" is paid time. So it's not exactly easy to put a $/hr figure on it.
And while, yes, you can be worried about the new pilot making less than the "people in the McDonalds", you also have to understand that there are two pilots up there, and one of them isn't new... The captain has many more hours under him... AND both of them still have to get checked out by (aka ride-with) other pilots before they continue on the path of becoming a ATP (commercial pilot). There are many people BEFORE getting to the airline they have to have sign off, THEN there are more people AT the airline that have to sign off on them.
Of course this is all dismissing the fact that a McDonalds working knows that by overcooking the fries he's not going to kill himself. I've always thought it was funny how quickly people forget that the pilots up front may not care about the passengers (I know I don't), I'm pretty sure ONE of the two of them up there want to make it home, for themselves... They're probably going to work extra hard on that part of the flight.