Fix shared example header.
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Tue, 28 Jul 2015 11:07:29 +0000 (13:07 +0200)
committerSimon Hausmann <simon.hausmann@theqtcompany.com>
Mon, 3 Aug 2015 08:49:15 +0000 (08:49 +0000)
commit34f39c8f0dd51f1f62c1d15e6cb466bcc2a7fa90
treeca461aa23aad434db6c817924773a874c5f926a6
parent0538b70895e43b47b0d2368df42a3e11cffa1fe8
Fix shared example header.

Use new connection syntax and return -1 on load failures, which
avoids hanging processes and empty windows in case some module is not
installed.

Change-Id: I4966c9657b752eee8612fa893a0489bc8a64ccfc
Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
examples/quick/shared/shared.h