зеркало из https://github.com/nextcloud/desktop.git
Fix local folder not opening on windows, add extra slash
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
This commit is contained in:
Родитель
58f1c3234d
Коммит
9319210c4c
|
@ -45,7 +45,11 @@ ActivityListModel *User::getActivityModel()
|
|||
|
||||
void User::openLocalFolder()
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
QString path = "file:///" + this->getFolder()->path();
|
||||
#else
|
||||
QString path = "file://" + this->getFolder()->path();
|
||||
#endif
|
||||
QDesktopServices::openUrl(path);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче