aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-03-26 15:31:32 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-03-26 15:31:32 -0400
commitc698633447b95cd69113676a5cc4d554ba408e14 (patch)
treeba40fa7775e7d5cbc4042b0c8d743dfa34554bab /src/qt/bitcoin.cpp
parentbf5b80a8ae67b177e06c7024eb3b7a14097a8814 (diff)
parentc289d95d6bb3105a67b96a697ddb9dd773cf1033 (diff)
Merge branch 'master' of github.com:bitcoin/bitcoin
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r--src/qt/bitcoin.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index 27d57b35e1..68f750ddaf 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -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;