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
70185f03
Commit
70185f03
authored
11 years ago
by
Wladimir J. van der Laan
Browse files
Options
Download
Plain Diff
Merge pull request #2526 from Diapolo/Qt_misc
Bitcoin-Qt: misc small changes
parents
c5552763
332ff123
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/qt/aboutdialog.cpp
+1
-1
src/qt/aboutdialog.cpp
src/qt/bitcoin.cpp
+4
-5
src/qt/bitcoin.cpp
src/qt/bitcoingui.cpp
+0
-2
src/qt/bitcoingui.cpp
src/qt/overviewpage.cpp
+3
-2
src/qt/overviewpage.cpp
with
8 additions
and
10 deletions
+8
-10
src/qt/aboutdialog.cpp
View file @
70185f03
...
...
@@ -11,7 +11,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
ui
->
setupUi
(
this
);
// Set current copyright year
ui
->
copyrightLabel
->
setText
(
tr
(
"Copyright"
)
+
QString
(
" ©
"
)
+
tr
(
"2009-%1
The Bitcoin developers"
)
.
arg
(
COPYRIGHT_YEAR
)
);
ui
->
copyrightLabel
->
setText
(
tr
(
"Copyright"
)
+
QString
(
" ©
2009-%1 "
).
arg
(
COPYRIGHT_YEAR
)
+
tr
(
"
The Bitcoin developers"
));
}
void
AboutDialog
::
setModel
(
ClientModel
*
model
)
...
...
This diff is collapsed.
Click to expand it.
src/qt/bitcoin.cpp
View file @
70185f03
...
...
@@ -146,12 +146,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
;
...
...
@@ -207,7 +207,6 @@ int main(int argc, char *argv[])
}
app
.
processEvents
();
app
.
setQuitOnLastWindowClosed
(
false
);
try
...
...
This diff is collapsed.
Click to expand it.
src/qt/bitcoingui.cpp
View file @
70185f03
...
...
@@ -42,8 +42,6 @@
#include <QStackedWidget>
#include <QDateTime>
#include <QMovie>
#include <QFileDialog>
#include <QDesktopServices>
#include <QTimer>
#include <QDragEnterEvent>
#include <QUrl>
...
...
This diff is collapsed.
Click to expand it.
src/qt/overviewpage.cpp
View file @
70185f03
...
...
@@ -46,9 +46,10 @@ public:
bool
confirmed
=
index
.
data
(
TransactionTableModel
::
ConfirmedRole
).
toBool
();
QVariant
value
=
index
.
data
(
Qt
::
ForegroundRole
);
QColor
foreground
=
option
.
palette
.
color
(
QPalette
::
Text
);
if
(
qVariantC
anConvert
<
Q
Color
>
(
value
))
if
(
value
.
c
anConvert
<
Q
Brush
>
(
))
{
foreground
=
qvariant_cast
<
QColor
>
(
value
);
QBrush
brush
=
qvariant_cast
<
QBrush
>
(
value
);
foreground
=
brush
.
color
();
}
painter
->
setPen
(
foreground
);
...
...
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