]> git.sesse.net Git - vlc/commit
Qt: fix multiple instances of a singleton if an input is already started
authorErwan Tulou <erwan10@videolan.org>
Wed, 11 Jun 2014 10:08:44 +0000 (12:08 +0200)
committerErwan Tulou <erwan10@videolan.org>
Wed, 11 Jun 2014 12:52:06 +0000 (14:52 +0200)
commitb8ae32d9ae7e3048e4f93aa03c56114c48ba3337
treec3a4b2f0282d46643e31d37aed4c3bda284c90af
parent600dc54e3e7196d6ca51703a432caf88effb519b
Qt: fix multiple instances of a singleton if an input is already started

Using THEMIM at this level results in instantiating multiples copies of
what should be a singleton. This is because any preexisting input needs
to be initialized in the constructor of the THEMIN (MainInputManager). This
leads to recursively calling the constructor over and over.

This patch directly calls the underlying functions(no functional change).
modules/gui/qt4/input_manager.cpp