Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
defunctec
crown-core
Commits
9696b51c
Commit
9696b51c
authored
13 years ago
by
Wladimir J. van der Laan
Browse files
Options
Download
Email Patches
Plain Diff
Change #ifdef GUI to #ifdef QT_GUI, GUI is not defined anymore...
parent
13215d8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/init.cpp
+4
-4
src/init.cpp
with
4 additions
and
4 deletions
+4
-4
src/init.cpp
View file @
9696b51c
...
...
@@ -210,10 +210,10 @@ bool AppInit2(int argc, char* argv[])
#endif
#endif
" -paytxfee=<amt>
\t
"
+
_
(
"Fee per KB to add to transactions you send"
)
+
"
\n
"
+
#ifdef GUI
#ifdef
QT_
GUI
" -server
\t\t
"
+
_
(
"Accept command line and JSON-RPC commands"
)
+
"
\n
"
+
#endif
#if !defined(WIN32) && !defined(GUI)
#if !defined(WIN32) && !defined(
QT_
GUI)
" -daemon
\t\t
"
+
_
(
"Run in the background as a daemon and accept commands"
)
+
"
\n
"
+
#endif
" -testnet
\t\t
"
+
_
(
"Use the test network"
)
+
"
\n
"
+
...
...
@@ -253,7 +253,7 @@ bool AppInit2(int argc, char* argv[])
fTestNet
=
GetBoolArg
(
"-testnet"
);
fDebug
=
GetBoolArg
(
"-debug"
);
#if !defined(WIN32) && !defined(GUI)
#if !defined(WIN32) && !defined(
QT_
GUI)
fDaemon
=
GetBoolArg
(
"-daemon"
);
#else
fDaemon
=
false
;
...
...
@@ -284,7 +284,7 @@ bool AppInit2(int argc, char* argv[])
}
#endif
#if !defined(WIN32) && !defined(GUI)
#if !defined(WIN32) && !defined(
QT_
GUI)
if
(
fDaemon
)
{
// Daemonize
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help