mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
QString() instead of QString("")
This commit is contained in:
parent
891abe2da8
commit
b7bf26207a
1 changed files with 4 additions and 4 deletions
|
@ -134,7 +134,7 @@ LatexRenderer::Error LatexRenderer::handleLatex( QString& fileName, const QStrin
|
|||
{
|
||||
kDebug() << "Could not find latex!";
|
||||
delete tempFile;
|
||||
fileName = QString("");
|
||||
fileName = QString();
|
||||
return LatexNotFound;
|
||||
}
|
||||
latexProc << latexExecutable << "-interaction=nonstopmode" << "-halt-on-error" << QString("-output-directory=%1").arg(tempFilePath) << tempFile->fileName();
|
||||
|
@ -149,7 +149,7 @@ LatexRenderer::Error LatexRenderer::handleLatex( QString& fileName, const QStrin
|
|||
|
||||
if (!QFile::exists(tempFileNameNS + QString(".dvi")))
|
||||
{
|
||||
fileName = QString("");
|
||||
fileName = QString();
|
||||
return LatexFailed;
|
||||
}
|
||||
|
||||
|
@ -157,7 +157,7 @@ LatexRenderer::Error LatexRenderer::handleLatex( QString& fileName, const QStrin
|
|||
if (dvipngExecutable.isEmpty())
|
||||
{
|
||||
kDebug() << "Could not find dvipng!";
|
||||
fileName = QString("");
|
||||
fileName = QString();
|
||||
return DvipngNotFound;
|
||||
}
|
||||
|
||||
|
@ -169,7 +169,7 @@ LatexRenderer::Error LatexRenderer::handleLatex( QString& fileName, const QStrin
|
|||
|
||||
if (!QFile::exists(tempFileNameNS + QString(".png")))
|
||||
{
|
||||
fileName = QString("");
|
||||
fileName = QString();
|
||||
return DvipngFailed;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue