Re: [LyX/master] Change preedit color settings

Scott Kostyshak <[email protected]> Fri, 12 Jun 2026 21:22:19 +0200
Newsgroups gmane.editors.lyx.devel
Message-ID <aixcVIaLEZsZd3-E@jimmy>
On Fri, Jun 12, 2026 at 08:28:27PM +0200, Kornel Benko wrote:
> Am Fri, 12 Jun 2026 13:16:55 +0000
> schrieb Koji Yokota <[email protected]>:
> 
> > commit 9e0af756365381bac143d3c60bd6d6326738ad0d
> > Author: Koji Yokota <[email protected]>
> > Date:   Fri Jun 12 22:12:59 2026 +0900
> > 
> >     Change preedit color settings
> > ---
> 
> After commit 1a01d6c0 I got compile error.
> ...
> /usr2/src/lyx/lyx-test/src/frontends/qt/GuiInputMethod.cpp: In member function ‘void
> lyx::frontend::GuiInputMethod::setPreeditStyle(const
> QList<QInputMethodEvent::Attribute>&)’:
> /usr2/src/lyx/lyx-test/src/frontends/qt/GuiInputMethod.cpp:341:46: error: unused variable
> ‘focus_style’ [-Werror=unused-variable] 341 |         const QInputMethodEvent::Attribute
> * focus_style = nullptr; |                                              ^~~~~~~~~~~
> cc1plus: all warnings being treated as errors make[2]: ***
> [src/frontends/qt/CMakeFiles/frontend_qt.dir/build.make:1734:
> src/frontends/qt/CMakeFiles/frontend_qt.dir/GuiInputMethod.cpp.o] Error 1 make[2]:
> Leaving directory '/usr9/BUILD/Mint22/BuildLyxTest-gcc14.2.0' make[1]: ***
> [CMakeFiles/Makefile2:1388: src/frontends/qt/CMakeFiles/frontend_qt.dir/all] Error 2
> make[1]: Leaving directory '/usr9/BUILD/Mint22/BuildLyxTest-gcc14.2.0' make: ***
> [Makefile:169: all] Error 2
> ...
> 	Kornel

Thanks, Kornel. I just went ahead and removed it. If Koji prefers
something else, that's fine too.

Scott

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEMfkICpsJzYuNuGlOA4ZnarZHC+sFAmosXGsACgkQA4ZnarZH
C+t8Agf/cKBzo21kB81rp8qPDTPbvQdIXQ5KJUq8tlN8oWhxZTdGA73bjTCLew5F
dCOiqkai5PXtvS4zrI1cLkdq38gBMf+TPaszjlc/4n268fWztNAKtSpxT0L9p4ui
F2XRvk/BtfQuX9dqmjODGnKRMATCm4yRMJFUDnBkocojEV+kQ5VOsHBhbPB5ZPEq
Iywy+vbUbTJlEGFXXHIxyTgceNYZnuMpc6gT9kjD1VHl6PTssPn/m8IXZtBy2Zzs
Vcpyv4fXtZCJ2gLPxQ9BSPUoul02sDmRa/ksx03SyjWK2y6Im7q4GyVgmdt8jKgK
KQdt+g1H3ZK2k0JI2la+1mxGCvtOVg==
=JIHy
-----END PGP SIGNATURE-----