From 52d49758255da3a24ab65f7aae57990e36ec72e5 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Sat, 5 May 2012 18:24:23 +0200 Subject: [PATCH] passphrasedialog: change dialog title to "Passphrase Dialog" / remove style-sheet for bold font and use Qt Designer option / remove an unused label default-text and remove an obsolete clear()' --- src/qt/askpassphrasedialog.cpp | 3 +-- src/qt/forms/askpassphrasedialog.ui | 13 +++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/qt/askpassphrasedialog.cpp b/src/qt/askpassphrasedialog.cpp index 31e4040d1..0a8ace09d 100644 --- a/src/qt/askpassphrasedialog.cpp +++ b/src/qt/askpassphrasedialog.cpp @@ -24,7 +24,6 @@ AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) : ui->passEdit1->installEventFilter(this); ui->passEdit2->installEventFilter(this); ui->passEdit3->installEventFilter(this); - ui->capsLabel->clear(); switch(mode) { @@ -215,7 +214,7 @@ bool AskPassphraseDialog::event(QEvent *event) bool AskPassphraseDialog::eventFilter(QObject *, QEvent *event) { - /* Detect Caps Lock. + /* Detect Caps Lock. * There is no good OS-independent way to check a key state in Qt, but we * can detect Caps Lock by checking for the following condition: * Shift key is down and the result is a lower case character, or diff --git a/src/qt/forms/askpassphrasedialog.ui b/src/qt/forms/askpassphrasedialog.ui index 3f6b668e0..1383af7a7 100644 --- a/src/qt/forms/askpassphrasedialog.ui +++ b/src/qt/forms/askpassphrasedialog.ui @@ -23,7 +23,7 @@ - Dialog + Passphrase Dialog @@ -88,13 +88,14 @@ - - #capsLabel { - font: bold; -} + + + 75 + true + - TextLabel + Qt::AlignCenter