mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 00:49:41 -05:00
fixed open folder from File Sharing dialog
This commit is contained in:
parent
37a4e7750c
commit
c26970feba
@ -1133,10 +1133,10 @@ void RetroshareDirModel::openSelected(const QModelIndexList &qmil)
|
|||||||
{
|
{
|
||||||
if ((*it).type & DIR_TYPE_PERSON) continue;
|
if ((*it).type & DIR_TYPE_PERSON) continue;
|
||||||
|
|
||||||
std::string path, name;
|
//std::string path, name;
|
||||||
rsFiles->ConvertSharedFilePath((*it).path, path);
|
//rsFiles->ConvertSharedFilePath((*it).path, path);
|
||||||
|
|
||||||
QDir dir(QString::fromUtf8(path.c_str()));
|
QDir dir(QString::fromUtf8((*it).path.c_str()));
|
||||||
QString dest;
|
QString dest;
|
||||||
if ((*it).type & DIR_TYPE_FILE) {
|
if ((*it).type & DIR_TYPE_FILE) {
|
||||||
dest = dir.absoluteFilePath(QString::fromUtf8(it->name.c_str()));
|
dest = dir.absoluteFilePath(QString::fromUtf8(it->name.c_str()));
|
||||||
|
Loading…
Reference in New Issue
Block a user