mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Use user-readable short folder path in the context menu
This commit is contained in:
parent
451ebd447b
commit
ab5e543099
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ void ownCloudGui::addAccountContextMenu(AccountStatePtr accountState, QMenu *men
|
|||
menu->addAction(tr("Managed Folders:"))->setDisabled(true);
|
||||
}
|
||||
|
||||
QAction *action = new QAction( tr("Open folder '%1'").arg(folder->path()), this );
|
||||
QAction *action = new QAction( tr("Open folder '%1'").arg(folder->shortGuiPath()), this );
|
||||
connect(action, SIGNAL(triggered()),_folderOpenActionMapper, SLOT(map()));
|
||||
_folderOpenActionMapper->setMapping( action, folder->alias() );
|
||||
menu->addAction(action);
|
||||
|
|
Loading…
Reference in a new issue