The quote means that sometimes someone in love can be cured of it simply by wearing a pair of glasses. The glasses often make the person look different, which may help the person to no longer feel the same kind of love they once had. Seeing them in a different light can change their feelings, curing them of the infatuation.