Tested cvDestroyAllWindows() without windows
Fixed cvDestroyAllWindows() without windows in QT (#2440)
Merge pull request #373 from ilysenkov:bugfix_2440