[svn] pinentry - r234 - in trunk: . qt qt4

svn author wk cvs at cvs.gnupg.org
Tue Jun 8 17:40:50 CEST 2010


Author: wk
Date: 2010-06-08 17:40:49 +0200 (Tue, 08 Jun 2010)
New Revision: 234

Modified:
   trunk/ChangeLog
   trunk/qt/pinentrydialog.cpp
   trunk/qt4/pinentrydialog.cpp
Log:
Add StaysOnTopHint.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-05-12 17:13:29 UTC (rev 233)
+++ trunk/ChangeLog	2010-06-08 15:40:49 UTC (rev 234)
@@ -1,3 +1,9 @@
+2010-06-08  Marc Mutz  <marc.mutz at kdab.com>  (wk)
+
+	* qt4/pinentrydialog.cpp (PinEntryDialog): Add WindowStaysOnTopHint.
+
+	* qt/pinentrydialog.cpp (PinEntryDialog): Add WStyle_StaysOnTop.
+
 2010-05-12  Guido Günther  <agx at sigxcpu.org>  (wk)
 
 	* gtk+-2/gtksecentry.c: Make -DSEAL safe.

Modified: trunk/qt/pinentrydialog.cpp
===================================================================
--- trunk/qt/pinentrydialog.cpp	2010-05-12 17:13:29 UTC (rev 233)
+++ trunk/qt/pinentrydialog.cpp	2010-06-08 15:40:49 UTC (rev 234)
@@ -33,7 +33,7 @@
 
 PinEntryDialog::PinEntryDialog( QWidget* parent, const char* name, 
                                 bool modal, bool enable_quality_bar )
-  : QDialog( parent, name, modal ), _grabbed( false )
+  : QDialog( parent, name, modal, Qt::WStyle_StaysOnTop ), _grabbed( false )
 {
   QBoxLayout* top = new QVBoxLayout( this, 6 );
   QBoxLayout* upperLayout = new QHBoxLayout( top );

Modified: trunk/qt4/pinentrydialog.cpp
===================================================================
--- trunk/qt4/pinentrydialog.cpp	2010-05-12 17:13:29 UTC (rev 233)
+++ trunk/qt4/pinentrydialog.cpp	2010-06-08 15:40:49 UTC (rev 234)
@@ -83,7 +83,7 @@
 
 PinEntryDialog::PinEntryDialog( QWidget* parent, const char* name, bool modal,
                                 bool enable_quality_bar )
-  : QDialog( parent ), _grabbed( false )
+  : QDialog( parent, Qt::WindowStaysOnTopHint ), _grabbed( false )
 {
   setWindowFlags( windowFlags() & ~Qt::WindowContextHelpButtonHint );
 




More information about the Gnupg-commits mailing list