Add "Open In File Manager" to windows builds
This commit is contained in:
committed by
craig.p.drummond
parent
761a9ec9a7
commit
d2c6d446d2
@@ -733,8 +733,8 @@ void Utils::openBrowser(const QUrl &url)
|
||||
{
|
||||
#if defined Q_OS_WIN
|
||||
QProcess::startDetached(QLatin1String("cmd"), QStringList() << QLatin1String("/c") << QLatin1String("start") << url.toString());
|
||||
//#elif definedQ_OS_MAC
|
||||
// TODO!!!
|
||||
#elif defined Q_OS_MAC
|
||||
Q_UNUSED(url) // TODO!!!
|
||||
#else
|
||||
QProcess::startDetached(QLatin1String("xdg-open"), QStringList() << url.toString());
|
||||
#endif
|
||||
@@ -744,8 +744,8 @@ void Utils::openFileManager(const QString &dir)
|
||||
{
|
||||
|
||||
#if defined Q_OS_WIN
|
||||
Q_UNUSED(dir) // TODO!!!
|
||||
#elif definedQ_OS_MAC
|
||||
QProcess::startDetached(QLatin1String("cmd"), QStringList() << QLatin1String("/c") << QLatin1String("start") << dir);
|
||||
#elif defined Q_OS_MAC
|
||||
Q_UNUSED(dir) // TODO!!!
|
||||
#else
|
||||
QProcess::startDetached(QLatin1String("xdg-open"), QStringList() << dir);
|
||||
|
||||
Reference in New Issue
Block a user