Not quite the thing, old man.
Rereading a Dorothy Sayers novel the other day (The Unpleasantness at the Bellona Club) I came across the following superb phrase: "not exactly the clean potato". It would seem to mean "not quite on the up and up." I recommend that you add it to your repertoire immediately.