works on qt bool