added warnign when openning http/https links using system services

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6226 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-03-15 23:08:54 +00:00
parent f1e23599da
commit ae130674ba
3 changed files with 29 additions and 5 deletions

View file

@ -304,7 +304,7 @@ int main(int argc, char *argv[])
/* Create event receiver */
eventReceiver = new EventReceiver;
if (eventReceiver->start()) {
QObject::connect(eventReceiver, SIGNAL(linkReceived(const QUrl&)), w, SLOT(linkActivated(const QUrl&)));
QObject::connect(eventReceiver, SIGNAL(linkReceived(const QUrl&)), w, SLOT(retroshareLinkActivated(const QUrl&)));
}
}
@ -312,7 +312,7 @@ int main(int argc, char *argv[])
/* Now use link from the command line, because no RetroShare was running */
RetroShareLink link(QString::fromStdString(url));
if (link.valid()) {
w->linkActivated(link.toUrl());
w->retroshareLinkActivated(link.toUrl());
}
}