diff --git a/retroshare-gui/src/gui/RetroShareLink.cpp b/retroshare-gui/src/gui/RetroShareLink.cpp index a42d9c104..3a0f7fb9a 100644 --- a/retroshare-gui/src/gui/RetroShareLink.cpp +++ b/retroshare-gui/src/gui/RetroShareLink.cpp @@ -1129,7 +1129,8 @@ static void processList(const QStringList &list, const QString &textSingular, co links.append(*linkIt); } - if (flag & RSLINK_PROCESS_NOTIFY_ASK) { + if (flag & RSLINK_PROCESS_NOTIFY_ASK) + { /* ask for some types of link */ QStringList fileAdd; QStringList personAdd; @@ -1153,12 +1154,9 @@ static void processList(const QStringList &list, const QString &textSingular, co case TYPE_CERTIFICATE: case TYPE_PUBLIC_MSG: case TYPE_PRIVATE_CHAT: - // no need to ask - break; - case TYPE_FILE: case TYPE_EXTRAFILE: - fileAdd.append(link.name()); + // no need to ask break; case TYPE_PERSON: @@ -1166,30 +1164,6 @@ static void processList(const QStringList &list, const QString &textSingular, co break; } } - - QString content; - if (!fileAdd.isEmpty()) { - processList(fileAdd, QObject::tr("Add file"), QObject::tr("Add files"), content); - } - - //if (personAdd.size()) { - // processList(personAdd, QObject::tr("Add friend"), QObject::tr("Add friends"), content); - //} - - if (content.isEmpty() == false) { - QString question = "
"; - if (links.size() == 1) { - question += QObject::tr("Do you want to process the link ?"); - } else { - question += QObject::tr("Do you want to process %1 links ?").arg(links.size()); - } - question += "