Report question

Question: Simple example using QProgressDialog: Any ideas why this doesn't work properly?