aboutsummaryrefslogtreecommitdiff
path: root/deskutils/kdepim4/files/patch-kleopatra-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/kdepim4/files/patch-kleopatra-main.cpp')
-rw-r--r--deskutils/kdepim4/files/patch-kleopatra-main.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/deskutils/kdepim4/files/patch-kleopatra-main.cpp b/deskutils/kdepim4/files/patch-kleopatra-main.cpp
new file mode 100644
index 000000000000..71c03cb69e39
--- /dev/null
+++ b/deskutils/kdepim4/files/patch-kleopatra-main.cpp
@@ -0,0 +1,20 @@
+--- ../kleopatra/main.cpp.orig 2009-07-01 18:44:25.000000000 -0400
++++ ../kleopatra/main.cpp 2009-07-01 18:49:26.000000000 -0400
+@@ -75,6 +75,8 @@
+ #include <QEventLoop>
+ #include <QThreadPool>
+
++#include <gpgme++/global.h>
++
+ #include <boost/shared_ptr.hpp>
+
+ #include <cassert>
+@@ -153,6 +155,8 @@
+ QTime timer;
+ timer.start();
+
++ GpgME::initializeLibrary();
++
+ {
+ const unsigned int threads = QThreadPool::globalInstance()->maxThreadCount();
+ QThreadPool::globalInstance()->setMaxThreadCount( qMax( 2U, threads ) );