From Wiktionary, the free dictionary
Literally, "It'll work out / dissolve, said the man who took a shit in the sink," punning on the dual meaning of lösa sig.
det löser sig, sa han som sket i vasken
- (humorous) Things will work out, or come to a satisfactory conclusion.