Hi,

Qt Code:
  1. GatewayWidget gw;
To copy to clipboard, switch view to plain text mode 
this creates a second temporary instance of class GatewayWidget. This is NOT your original instance, and it will by destroyed when the function ends.

Ginsengelf