getenv -> qgetenv

remotes/origin/KDE/4.14
Luigi Toscano 12 years ago
parent 9fc25e0448
commit 710779b7b8
  1. 2
      generators/dvi/dviFile.cpp
  2. 4
      generators/dvi/fontpool.cpp

@ -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

Loading…
Cancel
Save