[git] Pinentry - branch, master, updated. pinentry-0.9.7-14-ge925e89

by Andre Heinecke cvs at cvs.gnupg.org
Fri Apr 15 10:37:11 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The standard pinentry collection".

The branch, master has been updated
       via  e925e8955b0a82f1a0e3c697704007c503a5f8b7 (commit)
      from  f4b5049c68a79d5e4faba06447db5440936cefeb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e925e8955b0a82f1a0e3c697704007c503a5f8b7
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Fri Apr 15 10:32:06 2016 +0200

    Qt: Change qualitybar position back to below
    
    * qt/pinentrydialog.cpp (PinEntryDialog::PinEntryDialog): Change
    position back to below the entry. Fix label alignment.
    
    --
    While I find it more pleasing to have it at the top
    the string for the tooltip mentions that the quality bar is
    related to "above" entry.

diff --git a/qt/pinentrydialog.cpp b/qt/pinentrydialog.cpp
index 44a3a9f..292d46f 100644
--- a/qt/pinentrydialog.cpp
+++ b/qt/pinentrydialog.cpp
@@ -157,7 +157,7 @@ PinEntryDialog::PinEntryDialog(QWidget *parent, const char *name,
 
     if (enable_quality_bar) {
         _quality_bar_label = new QLabel(this);
-        _quality_bar_label->setAlignment(Qt::AlignRight | Qt::AlignVCenter);
+        _quality_bar_label->setAlignment(Qt::AlignVCenter);
         _quality_bar = new QProgressBar(this);
         _quality_bar->setAlignment(Qt::AlignCenter);
         _have_quality_bar = true;
@@ -199,12 +199,12 @@ PinEntryDialog::PinEntryDialog(QWidget *parent, const char *name,
     grid->addWidget(_error, row++, 1, 1, 2);
     grid->addWidget(_desc,  row++, 1, 1, 2);
     //grid->addItem( new QSpacerItem( 0, _edit->height() / 10, QSizePolicy::Minimum, QSizePolicy::Fixed ), 1, 1 );
+    grid->addWidget(_prompt, row, 1);
+    grid->addWidget(_edit, row++, 2);
     if (enable_quality_bar) {
         grid->addWidget(_quality_bar_label, row, 1);
         grid->addWidget(_quality_bar, row++, 2);
     }
-    grid->addWidget(_prompt, row, 1);
-    grid->addWidget(_edit, row++, 2);
     if (!repeatString.isNull()) {
         mRepeat = new QLineEdit;
         mRepeat->setMaxLength(256);

-----------------------------------------------------------------------

Summary of changes:
 qt/pinentrydialog.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
The standard pinentry collection
http://git.gnupg.org




More information about the Gnupg-commits mailing list