https://github.com/videolan/vlc
Revision 0e89cd612a2bf0d04f08fffd9ee748e6cc3df842 authored by Erwan Tulou on 11 June 2014, 11:16:36 UTC, committed by Erwan Tulou on 11 June 2014, 12:52:07 UTC
Rather than wait for the first call to THEMIM to instantiate this singleton,
do it explicitly at an early stage of the plugin initialization.

This is useful for Qt as a dialog provider, since otherwise THEMIM doesn't
get a chance to be set up until, e.g. the first call to a popupmenu,
which then makes this menu slightly longer and noticeable to display.

Also, remove the unneeded instantiation in the main_interface. (THEMIM has
already been used a few lines earlier, which makes the call useless).
1 parent 4107b25
History
Tip revision: 0e89cd612a2bf0d04f08fffd9ee748e6cc3df842 authored by Erwan Tulou on 11 June 2014, 11:16:36 UTC
Qt: early instantiation for THEMIM
Tip revision: 0e89cd6
File Mode Size
autotools
bin
compat
contrib
doc
extras
include
lib
m4
modules
po
share
src
test
.gitattributes -rw-r--r-- 73 bytes
.gitignore -rw-r--r-- 447 bytes
.mailmap -rw-r--r-- 7.0 KB
AUTHORS -rw-r--r-- 15.1 KB
COPYING -rw-r--r-- 17.7 KB
COPYING.LIB -rw-r--r-- 25.9 KB
INSTALL -rw-r--r-- 1.5 KB
Makefile.am -rw-r--r-- 40.3 KB
NEWS -rw-r--r-- 147.6 KB
README -rw-r--r-- 2.7 KB
THANKS -rw-r--r-- 5.4 KB
bootstrap -rwxr-xr-x 1.8 KB
configure.ac -rw-r--r-- 127.3 KB
make-alias -rwxr-xr-x 299 bytes

README

back to top