File use_qpdfview.patch of Package kraft

diff --git a/src/portal.cpp b/src/portal.cpp
index 07019a6..1ca3619 100644
--- a/src/portal.cpp
+++ b/src/portal.cpp
@@ -639,8 +639,8 @@ void Portal::slotPrintDocument( const QString& id,  const dbID& archID )
 void Portal::slotOpenPdf( const QString& fileName )
 {
     disconnect( ReportGenerator::self(), SIGNAL( pdfAvailable( const QString& ) ),0,0 );
-    QUrl url( fileName );
-    QDesktopServices::openUrl(url);
+    qDebug() << "Staring qpdfview viewer directly.";
+    QProcess::startDetached( "qpdfview", QStringList() << fileName );
 
     // save pdf into a <customer>/<dockind> structure
     if( _currentDoc ) {