diff options
author | root <root@rshg054.dnsready.net> | 2012-09-09 00:11:39 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-09 00:11:39 +0000 |
commit | dda96ce532ef99400e2b7703a0f538771b36b624 (patch) | |
tree | bcffb5a34db2fb09c3ca6eb1dfe557292566ddb6 /testing/pinentry/qt4-pinentry-window.patch | |
parent | c85b504e8916411d424cd3fc654ff879237d529e (diff) |
Sun Sep 9 00:11:39 UTC 2012
Diffstat (limited to 'testing/pinentry/qt4-pinentry-window.patch')
-rw-r--r-- | testing/pinentry/qt4-pinentry-window.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/pinentry/qt4-pinentry-window.patch b/testing/pinentry/qt4-pinentry-window.patch new file mode 100644 index 000000000..8f9faae11 --- /dev/null +++ b/testing/pinentry/qt4-pinentry-window.patch @@ -0,0 +1,28 @@ +From c2ab12b3742c929a225c3753439438edc27bfa81 Mon Sep 17 00:00:00 2001 +From: Stanislav Ochotnicky <sochotnicky@redhat.com> +Date: Tue, 1 Feb 2011 14:42:27 +0100 +Subject: [PATCH] Fix qt4 pinentry window created in the background + +This is probably just a workaround. Proper fix is being investigated. +See: +https://bugzilla.redhat.com/show_bug.cgi?id=589532 +http://stackoverflow.com/questions/2788518/calling-activatewindow-on-qdialog-sends-window-to-background +--- + qt4/pinentrydialog.cpp | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/qt4/pinentrydialog.cpp b/qt4/pinentrydialog.cpp +index 541baf4..d634eb6 100644 +--- a/qt4/pinentrydialog.cpp ++++ b/qt4/pinentrydialog.cpp +@@ -69,7 +69,6 @@ void raiseWindow( QWidget* w ) + SetForegroundWindow( w->winId() ); + #endif + w->raise(); +- w->activateWindow(); + } + + QPixmap icon( QStyle::StandardPixmap which ) +-- +1.7.3.5 + |