open computer:// if user click "open"

Change-Id: I08da202175b64dc69bd05b1c5918e8ef3ae8e3ea
This commit is contained in:
石博文 2016-09-30 14:36:58 +08:00
parent ff22264c0f
commit bdd7b1e31f
Notes: Deepin Code Review 2016-10-10 09:25:39 +08:00
Verified+1: Anonymous Coward #1000004
Code-Review+2: 石博文 <sbw@sbw.so>
Submitted-by: 石博文 <sbw@sbw.so>
Submitted-at: Mon, 10 Oct 2016 09:25:39 +0800
Reviewed-on: https://cr.deepin.io/16463
Project: dde/dde-dock
Branch: refs/heads/master

View File

@ -88,7 +88,7 @@ void DiskMountPlugin::invokedMenuItem(const QString &itemKey, const QString &men
Q_UNUSED(checked)
if (menuId == OPEN)
QProcess::startDetached("gvfs-open", QStringList() << QDir::homePath());
QProcess::startDetached("gvfs-open", QStringList() << "computer://");
else if (menuId == UNMOUNT_ALL)
m_diskControlApplet->unmountAll();
}