Fix qt6 dispatcher
This commit is contained in:
parent
203fff1a11
commit
1736184f15
|
@ -313,6 +313,7 @@ if [ "$HAVE_QT" != 'no' ]; then
|
||||||
then
|
then
|
||||||
HAVE_QT6='yes'
|
HAVE_QT6='yes'
|
||||||
add_define MAKEFILE HAVE_QT6 1
|
add_define MAKEFILE HAVE_QT6 1
|
||||||
|
add_define CONFIG HAVE_QT6 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "$HAVE_QT6" != 'yes' ]; then
|
if [ "$HAVE_QT6" != 'yes' ]; then
|
||||||
|
|
|
@ -140,7 +140,11 @@ void ui_companion_driver_init_first(
|
||||||
{
|
{
|
||||||
uico_driver_state_t *uico_st = &uico_driver_st;
|
uico_driver_state_t *uico_st = &uico_driver_st;
|
||||||
#ifdef HAVE_QT
|
#ifdef HAVE_QT
|
||||||
|
#ifdef HAVE_QT6 /* FIXME: deferred initialization after loading/unloading content */
|
||||||
|
if (desktop_menu_enable)
|
||||||
|
#else
|
||||||
if (desktop_menu_enable && ui_companion_toggle)
|
if (desktop_menu_enable && ui_companion_toggle)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
uico_st->qt_data = ui_companion_qt.init();
|
uico_st->qt_data = ui_companion_qt.init();
|
||||||
uico_st->flags |= UICO_ST_FLAG_QT_IS_INITED;
|
uico_st->flags |= UICO_ST_FLAG_QT_IS_INITED;
|
||||||
|
|
Loading…
Reference in New Issue