mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
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:
parent
f1e23599da
commit
ae130674ba
3 changed files with 29 additions and 5 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue