mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Mac compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24944 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
050ec93722
commit
114f9755ec
@ -186,7 +186,7 @@ public:
|
||||
QString flavorFor(QString const & mime)
|
||||
{
|
||||
LYXERR(Debug::ACTION, "flavorFor " << mime);
|
||||
if (mime == QLatin1String(pdfMimeType()))
|
||||
if (mime == pdfMimeType())
|
||||
return QLatin1String("com.adobe.pdf");
|
||||
return QString();
|
||||
}
|
||||
@ -195,7 +195,7 @@ public:
|
||||
{
|
||||
LYXERR(Debug::ACTION, "mimeFor " << flav);
|
||||
if (flav == QLatin1String("com.adobe.pdf"))
|
||||
return QLatin1String(pdfMimeType());
|
||||
return pdfMimeType();
|
||||
return QString();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user