>    Address Qt 6.10 compiler warning
> 
>    This value has been added in Qt 6.10.
> 
>    Do something with it?
> ---
> src/frontends/qt/GuiInputMethod.cpp | 5 +++++
> 1 file changed, 5 insertions(+)
> 
> diff --git a/src/frontends/qt/GuiInputMethod.cpp 
> b/src/frontends/qt/GuiInputMethod.cpp
> index 023f80b108..1852155dbd 100644
> --- a/src/frontends/qt/GuiInputMethod.cpp
> +++ b/src/frontends/qt/GuiInputMethod.cpp
> @@ -447,6 +447,11 @@ void GuiInputMethod::setPreeditStyle(
>                              "QInputMethodEvent::Selection start: " << 
> it.start <<
>                              " length: " << it.length);
>                       break;
> +#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
> +             case QInputMethodEvent::MimeData:
> +                     // FIXME this is new in Qt 6.10. Something to implement?
> +                     break;
> +#endif
>               } // end switch
>       } // end for

At this moment, there is no problem in leaving it as is, and so far I haven’t 
found its use cases (maybe for newer emoji’s?).

Thanks for putting the entry in.

Koji
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to