used to say that although sth seems to be bad, it could have good results
be no bad thing (that)…
used to say that although sth seems to be bad, it could have good results
We didn't want the press to get hold of the story, but it might be no bad thing.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition