koda [Sun, 19 Jun 2011 12:34:54 +0200] rev 5257
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.
koda [Sun, 19 Jun 2011 00:49:13 +0200] rev 5256
fix water bubbles like sheepluva wanted (also code formatting)
koda [Sat, 18 Jun 2011 17:26:13 +0200] rev 5255
under osx don't load a file in case a game is already running (also a little of code formatting)
krdrt5367 [Sat, 18 Jun 2011 16:56:45 +0200] rev 5254
updated polish translation
koda [Sat, 18 Jun 2011 16:54:08 +0200] rev 5253
add the manual build server dir to .hgignore
koda [Sat, 18 Jun 2011 03:14:45 +0200] rev 5252
file association for mac!
associating file is done automatically when you move the app in your system but there is also a button to set it manually
i had to disable argument parsing and to subclass qapplication to make this work
please test
koda [Wed, 15 Jun 2011 23:59:44 +0200] rev 5251
expose the available translations in the plist file