summaryrefslogtreecommitdiffstats
path: root/opensuse/tdelibs/printpreview.patch
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2011-08-13 12:58:51 -0400
committerRobert Xu <robxu9@gmail.com>2011-08-13 12:58:51 -0400
commit46130378aea5fff80803409c2573e2ea31472cb9 (patch)
treecb5da908105e6577da7676f84ba9c7fbaba4fb52 /opensuse/tdelibs/printpreview.patch
parent53f2819f9af035a38ca08df1ede9e6cd24aa79ef (diff)
downloadtde-packaging-46130378aea5fff80803409c2573e2ea31472cb9.tar.gz
tde-packaging-46130378aea5fff80803409c2573e2ea31472cb9.zip
add dbus-1-tqt and libdbus-1-tqt-0; add unmodified tdelibs from kdelibs3
Diffstat (limited to 'opensuse/tdelibs/printpreview.patch')
-rw-r--r--opensuse/tdelibs/printpreview.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/opensuse/tdelibs/printpreview.patch b/opensuse/tdelibs/printpreview.patch
new file mode 100644
index 000000000..ef3de21a4
--- /dev/null
+++ b/opensuse/tdelibs/printpreview.patch
@@ -0,0 +1,14 @@
+Index: kdeprint/kprintpreview.cpp
+===================================================================
+--- kdeprint/kprintpreview.cpp.orig
++++ kdeprint/kprintpreview.cpp
+@@ -108,6 +108,9 @@ static KLibFactory* componentFactory()
+ {
+ kdDebug(500) << "kdeprint: querying trader for 'application/postscript' service" << endl;
+ KLibFactory *factory(0);
++ factory = KLibLoader::self()->factory("libkghostviewpart");
++ if( factory )
++ return factory;
+ KTrader::OfferList offers = KTrader::self()->query(QString::fromLatin1("application/postscript"), QString::fromLatin1("KParts/ReadOnlyPart"), QString::null, QString::null);
+ for (KTrader::OfferList::ConstIterator it = offers.begin(); it != offers.end(); ++it)
+ {