How could it be a violation of McCain-Feingold? The contribution, if the CCW holder opted to give, was not for a political campaign, it was for charity.
I don't know that state's law on CCW, but many states issue through the sheriff in your county, so they know who has a carry license or permit. The list wasn't shared with people who had no reason to know who had a CCW, and the CCW holder wasn't required to contribute if they didn't want to.
Given the liberties taken nationwide by anti-gunner newspapers and other media groups with CCW information, this pales in comparison.