QTfrontend/res/btnResetHealth.png
author koda
Sun, 19 Jun 2011 12:34:54 +0200
changeset 5257 0bbdd47522b9
parent 4120 0aba28eb8e34
child 6086 c612f24bf162
permissions -rw-r--r--
passing by reference... my darkest enemy actual reason below: In your case (without reference) the compiler generates a temporary object (int) for the first argument of your MyApplication constructor. You pass this temporary int to QApplication’s constructor (with int reference), which saves the address of this reference. Once your MyApplication constructor is done the temporary int is destroyed but QApplication still has its address.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4120
0aba28eb8e34 more button updates, wait for hogs in infinite attack mode stop moving before clearing their damage (just used an arbitrary small interval)
nemo
parents: 4099
diff changeset
     1
(binary:image/png)