As long as you were only "checking out", it's OK. It's not like you were FONDLING it, was it ?
I did shoot some Glocks. (I'll try almost anything once. Or twice, actually.) and didn't like how they felt.
Several excellent shooters I know swear by them, though, and their results are impressive.
There's a guy at the club who calls himself "SammyGlock" (nobody I asked knows his real name). He not only probably owns just about each & every Glock model ever made but also every accessory ever made for them. When he REALLY gets his mojo working, he whips out an attachment-butt-stocked Glock (don't know the model) & a couple of pre-loaded 30 round mags & empties those in about two seconds or so. Gets groups at 10 meters of about 20" x 20";
Thoroughly nice guy : actually very safety-conscious, always friendly, and totally weird.