The LNP MP who posed with his member in a glass of red wine for a photo he sent to his mistress has blamed the media for the end of his parliamentary career.

Outgoing Redlands MP Peter Dowling, who has not publicly admitted any regret over his actions which eventually led to LNP branch members voting not to support him in his bid for pre-selection, labelled the media "largely invisible" and "non-accountable" for its part in exposing his affair and plonking behaviour in his parliamentary office.

Peter Dowling, leaving an LNP branch meeting last month. Credit:Michelle Smith

"It is true that for so many and various reasons, we each do things that disappoint ourselves and our loved ones," he told Parliament during his valedictory speech.

"As politicians, we are held to account, whether or not any particular action or event is relevant to our roles as representatives or of the community or not."