mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 04:00:44 +00:00
Disable open-in-file-browser code for Linux (too much work for now)
This commit is contained in:
parent
6a790a6333
commit
da08983e86
@ -216,6 +216,7 @@ void showInGraphicalShell(const QString &pathIn)
|
|||||||
QProcess::execute("/usr/bin/osascript", scriptArgs);
|
QProcess::execute("/usr/bin/osascript", scriptArgs);
|
||||||
#else
|
#else
|
||||||
// we cannot select a file here, because no file browser really supports it...
|
// we cannot select a file here, because no file browser really supports it...
|
||||||
|
/*
|
||||||
const QFileInfo fileInfo(pathIn);
|
const QFileInfo fileInfo(pathIn);
|
||||||
const QString folder = fileInfo.absoluteFilePath();
|
const QString folder = fileInfo.absoluteFilePath();
|
||||||
const QString app = Utils::UnixUtils::fileBrowser(Core::ICore::instance()->settings());
|
const QString app = Utils::UnixUtils::fileBrowser(Core::ICore::instance()->settings());
|
||||||
@ -229,7 +230,7 @@ void showInGraphicalShell(const QString &pathIn)
|
|||||||
if (!success) {
|
if (!success) {
|
||||||
QMessageBox::warning(NULL,STR_MessageBox_Error, "Could not find the file browser for your system, you will have to find your profile directory yourself."+"\n\n"+error, QMessageBox::Ok);
|
QMessageBox::warning(NULL,STR_MessageBox_Error, "Could not find the file browser for your system, you will have to find your profile directory yourself."+"\n\n"+error, QMessageBox::Ok);
|
||||||
// showGraphicalShellError(parent, app, error);
|
// showGraphicalShellError(parent, app, error);
|
||||||
}
|
}*/
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user