mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 15:39:05 +01:00
Disable bitcoin: URI handling on Windows for the 0.6 release
This commit is contained in:
@@ -126,6 +126,9 @@ std::string _(const char* psz)
|
||||
#ifndef BITCOIN_QT_TEST
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
#if !defined(MAC_OSX) && !defined(WIN32)
|
||||
// TODO: implement qtipcserver.cpp for Mac and Windows
|
||||
|
||||
// Do this early as we don't want to bother initializing if we are just calling IPC
|
||||
for (int i = 1; i < argc; i++)
|
||||
{
|
||||
@@ -144,6 +147,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// Internal string conversion is all UTF-8
|
||||
QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
|
||||
@@ -245,6 +249,10 @@ int main(int argc, char *argv[])
|
||||
|
||||
// Place this here as guiref has to be defined if we dont want to lose URLs
|
||||
ipcInit();
|
||||
|
||||
#if !defined(MAC_OSX) && !defined(WIN32)
|
||||
// TODO: implement qtipcserver.cpp for Mac and Windows
|
||||
|
||||
// Check for URL in argv
|
||||
for (int i = 1; i < argc; i++)
|
||||
{
|
||||
@@ -259,7 +267,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
app.exec();
|
||||
|
||||
guiref = 0;
|
||||
|
||||
Reference in New Issue
Block a user