On Sun, May 25, 2008 at 07:49:18AM -0000, [EMAIL PROTECTED] wrote: > > Modified: lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp > URL: > http://www.lyx.org/trac/file/lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp?rev=24930 > ============================================================================== > --- lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp (original) > +++ lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp Sun May 25 09:49:16 > 2008 > @@ -186,7 +186,7 @@ > QString flavorFor(QString const & mime) > { > LYXERR(Debug::ACTION, "flavorFor " << mime); > - if (mime == QLatin1String(pdf_mime_type)) > + if (mime == QLatin1String(pdfMimeType()))
'mime' is a QString. So is the return value of pdfMimeType(). So why-o-why the extraconversion to QLatin1String? Andre'