]> git.tdb.fi Git - libs/gltk.git/commit
Restore parent to 0 if an exception occurs while setting things up
authorMikko Rasa <tdb@tdb.fi>
Wed, 29 May 2013 20:17:00 +0000 (23:17 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 29 May 2013 20:19:53 +0000 (23:19 +0300)
commit5d219b2f7e8ce196486c225e971f76ceab5538c5
tree4a1f552d90d9171a5ada017b49937d95e8bb7bbc
parent0e80a70267d6725b4bde456804a5cd80af3c6ec5
Restore parent to 0 if an exception occurs while setting things up

This prevents an inconsistent state from forming if something goes wrong.
source/widget.cpp