Blame SOURCES/0001-Fix-qt4-pinentry-window-created-in-the-background.patch

d1ad85
From c2ab12b3742c929a225c3753439438edc27bfa81 Mon Sep 17 00:00:00 2001
d1ad85
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
d1ad85
Date: Tue, 1 Feb 2011 14:42:27 +0100
d1ad85
Subject: [PATCH] Fix qt4 pinentry window created in the background
d1ad85
d1ad85
This is probably just a workaround. Proper fix is being investigated.
d1ad85
See:
d1ad85
https://bugzilla.redhat.com/show_bug.cgi?id=589532
d1ad85
http://stackoverflow.com/questions/2788518/calling-activatewindow-on-qdialog-sends-window-to-background
d1ad85
---
d1ad85
 qt4/pinentrydialog.cpp |    1 -
d1ad85
 1 files changed, 0 insertions(+), 1 deletions(-)
d1ad85
d1ad85
diff --git a/qt4/pinentrydialog.cpp b/qt4/pinentrydialog.cpp
d1ad85
index 541baf4..d634eb6 100644
d1ad85
--- a/qt4/pinentrydialog.cpp
d1ad85
+++ b/qt4/pinentrydialog.cpp
d1ad85
@@ -69,7 +69,6 @@ void raiseWindow( QWidget* w )
d1ad85
     SetForegroundWindow( w->winId() );
d1ad85
 #endif
d1ad85
     w->raise();
d1ad85
-    w->activateWindow();
d1ad85
 }
d1ad85
 
d1ad85
 QPixmap icon( QStyle::StandardPixmap which )
d1ad85
-- 
d1ad85
1.7.3.5
d1ad85