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
Raw File
Tip revision: 0e89cd612a2bf0d04f08fffd9ee748e6cc3df842 authored by Erwan Tulou on 11 June 2014, 11:16:36 UTC
Qt: early instantiation for THEMIM
Tip revision: 0e89cd6
.gitignore
*~
*.app
*.cache
*.dylib
*.lo
*.lo?
*.la
*.moc.cpp
*.o
*.so
*.pc
*.vlt
*.class
*.dmg
.DS_Store
.deps
.libs
.dirstamp
ABOUT-NLS
aclocal.m4
ChangeLog
compile
config.status
config.h*
config.log
configure
doltcompile
doltlibtool
INSTALL.git
libtool
Makefile
Makefile.in
stamp-*
vlc
vlc.exe
qvlc
rvlc
svlc
cvlc
qvlc
mvlc
nvlc
wxvlc
vlc_install_dir/*
plugins.dat
patches/*

include/vlc/libvlc_version.h

# Ignore build dirs
build-*
contrib-*
install-*

back to top