* Reworked follow up and copy document set the correct header- and footer-texts according to the doc type Added a checkbox if items should be copied or not * New feature: partial invoices that are substracted in the final invoice * Use an XML based migration system for document types * Added the first unit tests to Kraft * Made the document templates not containing any language specific strings any more. There is only one doc now for all languages, set by localized strings as template variables. * Removed KeepTogether flag for tables to avoid that a long list of items only starts on the next page. Might have impact on some docs. * Fixed formatting of the amount number in the XML output * More Less-KDE: Removed more mandatory dependencies on KDE. * Added 'About Kraft' information to Krafts system view. * Added document type 'Offer without price tags', which does not print price tags on the PDF (issue #58). * Internationalization: Added dutch translation - Removed the patches fix_install_appdata.patch, fix_nullptr_warning.patch fix_sql_qt12.patch as those went into upstream code. - Update to v0.90 RC 3 - Removed patch rcfixes.patch, went into the release Update to Kraft v0.90 RC 2: - Add patch rcfixes.patch that fixes a few glitches in the RC. - Remove patch fix_install_appdata.patch, gone upstream OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kraft?expand=0&rev=38
16 lines
640 B
Diff
16 lines
640 B
Diff
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 ) {
|