Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Slowroll:Build:2
kraft
use_qpdfview.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File use_qpdfview.patch of Package kraft
diff --git a/src/portal.cpp b/src/portal.cpp index 8345564..4a79c8c 100644 --- a/src/portal.cpp +++ b/src/portal.cpp @@ -702,8 +702,8 @@ void Portal::slotPrintDocument( const QString& id, const dbID& archID ) void Portal::slotOpenPdf( const QString& fileName ) { disconnect( ReportGenerator::self(), SIGNAL( pdfAvailable( const QString& ) ),nullptr, nullptr ); - 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 ) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor