View Single Post
Posts: 180 | Thanked: 76 times | Joined on May 2010
#63
Modified the code (bit ugly :P): http://www.pastie.org/1048658

So you have to define progress as member variable to be able to access it in two methods.

You can't make connection in constructor because process is defined in method, it's not member variable of MainWindow (of course you can make it a member variable).
 

The Following User Says Thank You to Diph For This Useful Post: