Skip to content
GitLab
Menu
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
5e4db234
Commit
5e4db234
authored
11 years ago
by
Philip Kaufmann
Browse files
Options
Download
Email Patches
Plain Diff
bitcoin: use static QApplication:: instead of app.
parent
70412e06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/qt/bitcoin.cpp
+4
-5
src/qt/bitcoin.cpp
with
4 additions
and
5 deletions
+4
-5
src/qt/bitcoin.cpp
View file @
5e4db234
...
...
@@ -140,12 +140,12 @@ int main(int argc, char *argv[])
// Application identification (must be set before OptionsModel is initialized,
// as it is used to locate QSettings)
app
.
setOrganizationName
(
"Bitcoin"
);
app
.
setOrganizationDomain
(
"bitcoin.org"
);
QApplication
::
setOrganizationName
(
"Bitcoin"
);
QApplication
::
setOrganizationDomain
(
"bitcoin.org"
);
if
(
GetBoolArg
(
"-testnet"
))
// Separate UI settings for testnet
app
.
setApplicationName
(
"Bitcoin-Qt-testnet"
);
QApplication
::
setApplicationName
(
"Bitcoin-Qt-testnet"
);
else
app
.
setApplicationName
(
"Bitcoin-Qt"
);
QApplication
::
setApplicationName
(
"Bitcoin-Qt"
);
// ... then GUI settings:
OptionsModel
optionsModel
;
...
...
@@ -201,7 +201,6 @@ int main(int argc, char *argv[])
}
app
.
processEvents
();
app
.
setQuitOnLastWindowClosed
(
false
);
try
...
...
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