GH-1389 wrap QDesktopServices and QProcess::startDetached
Essentially do not pass some environment variables to subprocesses: * LD_PRELOAD * LD_LIBRARY_PATH * LD_DEBUG * QT_PLUGIN_PATH * QT_FONTPATH
This commit is contained in:
parent
d1e344f28f
commit
4d0caf6254
19 changed files with 235 additions and 72 deletions
|
@ -110,12 +110,6 @@ MULTIMC_LOGIC_EXPORT QString RemoveInvalidFilenameChars(QString string, QChar re
|
|||
|
||||
MULTIMC_LOGIC_EXPORT QString DirNameFromString(QString string, QString inDir = ".");
|
||||
|
||||
/// Opens the given file in the default application.
|
||||
MULTIMC_LOGIC_EXPORT void openFileInDefaultProgram(QString filename);
|
||||
|
||||
/// Opens the given directory in the default application.
|
||||
MULTIMC_LOGIC_EXPORT void openDirInDefaultProgram(QString dirpath, bool ensureExists = false);
|
||||
|
||||
/// Checks if the a given Path contains "!"
|
||||
MULTIMC_LOGIC_EXPORT bool checkProblemticPathJava(QDir folder);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue