Group :: Office
RPM: kde5-okular
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: alt-print-truncate-title.patch
Download
Download
--- a/core/fileprinter.cpp
+++ b/core/fileprinter.cpp
@@ -416,7 +416,7 @@ QStringList FilePrinter::jobname(QPrinte
}
if (version.startsWith(QLatin1String("lpr"))) {
- const QString shortenedDocName = QString::fromUtf8(printer.docName().toUtf8().left(255));
+ const QString shortenedDocName = QString::fromUtf8(printer.docName().toUtf8().left(79));
return QStringList(QStringLiteral("-J")) << shortenedDocName;
}
}