mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix: 修改通过任务栏打开回收站行为
之前右键菜单是调用命令打开回收站,现改为调用dtk接口,通过回收站右键菜单多次打开回收站仅会弹出一个回收站窗口。 Log: 修改通过任务栏打开回收站行为。 Task: https://pms.uniontech.com/zentao/task-view-58313.html Change-Id: I75e82d2183d550913654bffdbf7b172b6e62faf2
This commit is contained in:
parent
963ba77e02
commit
1721db7f02
@ -80,7 +80,7 @@ QSize PopupControlWidget::sizeHint() const
|
||||
|
||||
void PopupControlWidget::openTrashFloder()
|
||||
{
|
||||
QProcess::startDetached("gio", QStringList() << "open" << "trash:///");
|
||||
DDesktopServices::showFolder(QUrl("trash:///"));
|
||||
}
|
||||
|
||||
void PopupControlWidget::clearTrashFloder()
|
||||
|
Loading…
x
Reference in New Issue
Block a user