Add "Open In File Manager" to windows builds

This commit is contained in:
craig.p.drummond
2014-06-10 19:47:19 +00:00
committed by craig.p.drummond
parent 761a9ec9a7
commit d2c6d446d2
4 changed files with 11 additions and 10 deletions

View File

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