Commit 710779b7 authored by Luigi Toscano's avatar Luigi Toscano

getenv -> qgetenv

parent 9fc25e04
......@@ -396,7 +396,7 @@ QString dvifile::convertPDFtoPS(const QString &PDFFilename, QString *converrorms
"contained in distributions of the ghostscript PostScript interpreter system. If "
"ghostscript is not installed on your system, you could install it now. "
"If you are sure that ghostscript is installed, try to use <strong>pdf2ps</strong> "
"from the command line to check if it really works.</p><p><em>PATH:</em> %2</p></qt>", PDFFilename, getenv("PATH"));
"from the command line to check if it really works.</p><p><em>PATH:</em> %2</p></qt>", PDFFilename, QString(qgetenv("PATH")));
have_complainedAboutMissingPDF2PS = true;
}
return QString();
......
......@@ -210,7 +210,7 @@ void fontPool::locateFonts()
"which are necessary to display the current DVI file. "
"Your document might be unreadable.</p>"
"<p><small><b>PATH:</b> %1</small></p>"
"<p><small>%2</small></p></qt>", getenv("PATH"),
"<p><small>%2</small></p></qt>", QString(qgetenv("PATH")),
kpsewhichOutput.replace(QLatin1String("\n"), QLatin1String("<br/>"))), -1);
}
}
......@@ -282,7 +282,7 @@ void fontPool::locateFonts(bool makePK, bool locateTFMonly, bool *virtualFontsFo
"Possible reason: the <em>kpsewhich</em> program is perhaps not installed on your system, "
"or it cannot be found in the current search path.</p>"
"<p><small><b>PATH:</b> %1</small></p>"
"<p><small>%2</small></p></qt>", getenv("PATH"),
"<p><small>%2</small></p></qt>", QString(qgetenv("PATH")),
kpsewhichOutput.replace(QLatin1String("\n"), QLatin1String("<br/>"))), -1);
// This makes sure the we don't try to run kpsewhich again
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment