mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-20 06:50:40 -04:00
fixed open folder from File Sharing dialog
This commit is contained in:
parent
37a4e7750c
commit
c26970feba
1 changed files with 3 additions and 3 deletions
|
@ -1133,10 +1133,10 @@ void RetroshareDirModel::openSelected(const QModelIndexList &qmil)
|
|||
{
|
||||
if ((*it).type & DIR_TYPE_PERSON) continue;
|
||||
|
||||
std::string path, name;
|
||||
rsFiles->ConvertSharedFilePath((*it).path, path);
|
||||
//std::string path, name;
|
||||
//rsFiles->ConvertSharedFilePath((*it).path, path);
|
||||
|
||||
QDir dir(QString::fromUtf8(path.c_str()));
|
||||
QDir dir(QString::fromUtf8((*it).path.c_str()));
|
||||
QString dest;
|
||||
if ((*it).type & DIR_TYPE_FILE) {
|
||||
dest = dir.absoluteFilePath(QString::fromUtf8(it->name.c_str()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue