@@ -74,13 +74,13 @@ bool ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption)
7474 return payFee;
7575}
7676
77- void ThreadSafeHandleURL (const std::string& strURL )
77+ void ThreadSafeHandleURI (const std::string& strURI )
7878{
7979 if (!guiref)
8080 return ;
8181
82- QMetaObject::invokeMethod (guiref, " handleURL " , GUIUtil::blockingGUIThreadConnection (),
83- Q_ARG (QString, QString::fromStdString (strURL )));
82+ QMetaObject::invokeMethod (guiref, " handleURI " , GUIUtil::blockingGUIThreadConnection (),
83+ Q_ARG (QString, QString::fromStdString (strURI )));
8484}
8585
8686void MainFrameRepaint ()
@@ -133,10 +133,10 @@ int main(int argc, char *argv[])
133133 {
134134 if (strlen (argv[i]) > 7 && strncasecmp (argv[i], " bitcoin:" , 8 ) == 0 )
135135 {
136- const char *strURL = argv[i];
136+ const char *strURI = argv[i];
137137 try {
138- boost::interprocess::message_queue mq (boost::interprocess::open_only, " BitcoinURL " );
139- if (mq.try_send (strURL , strlen (strURL ), 0 ))
138+ boost::interprocess::message_queue mq (boost::interprocess::open_only, BITCOINURI_QUEUE_NAME );
139+ if (mq.try_send (strURI , strlen (strURI ), 0 ))
140140 exit (0 );
141141 else
142142 break ;
@@ -248,21 +248,21 @@ int main(int argc, char *argv[])
248248 window.show ();
249249 }
250250
251- // Place this here as guiref has to be defined if we dont want to lose URLs
251+ // Place this here as guiref has to be defined if we dont want to lose URIs
252252 ipcInit ();
253253
254254#if !defined(MAC_OSX) && !defined(WIN32)
255255// TODO: implement qtipcserver.cpp for Mac and Windows
256256
257- // Check for URL in argv
257+ // Check for URI in argv
258258 for (int i = 1 ; i < argc; i++)
259259 {
260260 if (strlen (argv[i]) > 7 && strncasecmp (argv[i], " bitcoin:" , 8 ) == 0 )
261261 {
262- const char *strURL = argv[i];
262+ const char *strURI = argv[i];
263263 try {
264- boost::interprocess::message_queue mq (boost::interprocess::open_only, " BitcoinURL " );
265- mq.try_send (strURL , strlen (strURL ), 0 );
264+ boost::interprocess::message_queue mq (boost::interprocess::open_only, BITCOINURI_QUEUE_NAME );
265+ mq.try_send (strURI , strlen (strURI ), 0 );
266266 }
267267 catch (boost::interprocess::interprocess_exception &ex) {
268268 }
0 commit comments