summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/pinentry/files/pinentry-0.8.0-qt-fix.patch')
-rw-r--r--app-crypt/pinentry/files/pinentry-0.8.0-qt-fix.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/app-crypt/pinentry/files/pinentry-0.8.0-qt-fix.patch b/app-crypt/pinentry/files/pinentry-0.8.0-qt-fix.patch
new file mode 100644
index 000000000000..42cef7635712
--- /dev/null
+++ b/app-crypt/pinentry/files/pinentry-0.8.0-qt-fix.patch
@@ -0,0 +1,26 @@
+Index: qt/pinentrydialog.cpp
+===================================================================
+--- qt/pinentrydialog.cpp (revision 233)
++++ qt/pinentrydialog.cpp (working copy)
+@@ -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 );
+Index: qt4/pinentrydialog.cpp
+===================================================================
+--- qt4/pinentrydialog.cpp (revision 233)
++++ qt4/pinentrydialog.cpp (working copy)
+@@ -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 );
+