-
David Fuhrmann authored
Currently, two objects of the class VLCMainWindow are generated. The first is alloated from intf.m (triggered by the first log message that arrives) and is initialized by both init and initWithContentRect. The second object is created from inside the nib file, and is instantiated ONLY with initWithContentRect. Therefore, up to now _o_sharedInstance had the wrong object and all calls to sharedInstance would cause problems. But somehow, o_mainwindow in intf.m is updated to the correct second object, although it holds the first object at start. Furthermore, o_fspanel is also instantiated through the nib file. (cherry picked from commit 0d847ccb8d2e58147fe351a10fc89e777f469fb8) Signed-off-by: David Fuhrmann <david.fuhrmann@googlemail.com>
bff6ee5e