I can tell you are stripping your code down to bare minimum to put on the forums, and that is fine and quite understandable, but we are missing a lot of valuable information. If you could please include your headers, we can see how you are defining your signals, slots, members, etc., which will help us understand your code better, which will allow us to help you better.
That being said, I just noticed a discrepancy in your code.
myProBarDialog = new proBarDialog(this);
myProBarDialog = new proBarDialog(this);
To copy to clipboard, switch view to plain text mode
as compared to your apparent class name, "pBarDialog". You will need to instantiate with the appropriate class name:
myProBarDialog = new pBarDialog(this);
myProBarDialog = new pBarDialog(this);
To copy to clipboard, switch view to plain text mode
Aside: I also noticed you are not deleting your "mProgressBarDialog". By setting the pointer to NULL, you are changing where it's pointing, but not de-allocating the memory you grabbed when calling new. The memory leak would be small, but it is still a leak.
Bookmarks