Skip to content

Commit f93727a

Browse files
committed
Merge pull request #1206 from Diapolo/passphrasedialog
small passphrasedialog update
2 parents c485a06 + 52d4975 commit f93727a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/qt/askpassphrasedialog.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) :
2424
ui->passEdit1->installEventFilter(this);
2525
ui->passEdit2->installEventFilter(this);
2626
ui->passEdit3->installEventFilter(this);
27-
ui->capsLabel->clear();
2827

2928
switch(mode)
3029
{
@@ -215,7 +214,7 @@ bool AskPassphraseDialog::event(QEvent *event)
215214

216215
bool AskPassphraseDialog::eventFilter(QObject *, QEvent *event)
217216
{
218-
/* Detect Caps Lock.
217+
/* Detect Caps Lock.
219218
* There is no good OS-independent way to check a key state in Qt, but we
220219
* can detect Caps Lock by checking for the following condition:
221220
* Shift key is down and the result is a lower case character, or

src/qt/forms/askpassphrasedialog.ui

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</size>
2424
</property>
2525
<property name="windowTitle">
26-
<string>Dialog</string>
26+
<string>Passphrase Dialog</string>
2727
</property>
2828
<layout class="QVBoxLayout" name="verticalLayout">
2929
<item>
@@ -88,13 +88,14 @@
8888
</item>
8989
<item row="4" column="1">
9090
<widget class="QLabel" name="capsLabel">
91-
<property name="styleSheet">
92-
<string notr="true">#capsLabel {
93-
font: bold;
94-
}</string>
91+
<property name="font">
92+
<font>
93+
<weight>75</weight>
94+
<bold>true</bold>
95+
</font>
9596
</property>
9697
<property name="text">
97-
<string>TextLabel</string>
98+
<string/>
9899
</property>
99100
<property name="alignment">
100101
<set>Qt::AlignCenter</set>

0 commit comments

Comments
 (0)