Pitchin a tent
An unsolicited and embarrassing physical erection occurring at a most inconvenient time.
Heard in Galway
Look at yer man there pitchin a tent in his Sunday trousers like!

Top of the morning. Or is that too common?
Here it is in posh English.
Observe that fellow over there experiencing an elevation of the male member within his Sabbath trousers!
Updated