For me it also worked to set the default value in the constructor in the .cpp instead of directly in the .h file.