[Qt-interest] Can you spot my mistake.
Andrew Hodgkinson
ahodgkinson at endurancetech.co.uk
Mon Aug 24 10:11:05 CEST 2009
On 24/08/2009 00:12, william.crocker at analog.com wrote:
>> Your myapp constructor doenst take in a reference to argc
>
> That is correct.
So why *is* QApplication's constructor defined with "int & argc", rather
than just "int argc"? Isn't that just asking for trouble?
> Easy to miss and of dire consequences.
Out of interest, given it took a long time for the symptoms to surface -
what were they? Others on the list (including me) may encounter the same
thing one day and who knows, they may remember this thread.
--
TTFN, Andrew Hodgkinson
Find some electronic music at: Photos, wallpaper, software and more:
http://pond.org.uk/music.html http://pond.org.uk/
More information about the Qt-interest-old
mailing list