Am Sat, 25 Sep 2021 15:45:19 -0400 schrieb Scott Kostyshak <skost...@lyx.org>:
> > > > I will look at the differences between GUI and command line, and between > > patch/no-patch and report back within a couple of days. > > With the "patch" the export from the command line is wrong (it omits the > icon). Without > the patch, both GUI and command-line exported PDFs are equivalent, and > include the icon. > > Scott What about the attached? Kornel
diff --git a/src/frontends/qt/GuiApplication.cpp b/src/frontends/qt/GuiApplication.cpp index 01a646de37..8b8581960f 100644 --- a/src/frontends/qt/GuiApplication.cpp +++ b/src/frontends/qt/GuiApplication.cpp @@ -553,11 +553,11 @@ IconInfo iconInfo(FuncRequest const & f, bool unknown, bool rtl) // and finally maybe the unknown icon if (unknown) names << "unknown"; - search_mode const mode = theGuiApp()->imageSearchMode(); + search_mode const mode = theGuiApp()? theGuiApp()->imageSearchMode():support::must_exist; // The folders where icons are searched for QStringList imagedirs; imagedirs << "images/ipa/" << "images/"; // This is used to search for rtl version of icons which have the +rrtl suffix. QStringList suffixes;
pgpOmj7ggXO8n.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel