Summary: | Printing job name CUPS and kword - not always correct! (mostly KDE print system) | ||
---|---|---|---|
Product: | kword | Reporter: | Wilfried Bytebier <wilfried.bytebier> |
Component: | general | Assignee: | Thomas Zander <zander> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.5 or before | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Wilfried Bytebier
2003-04-02 22:52:33 UTC
Subject: koffice/lib/kofficecore CVS commit by faure: Fix for: the print-job name in kprint is mostly "KDE print system". We were trying to get the title from the document info page, but due to an empty vs null confusion, the fallback to the filename didn't happen. Now it uses the filename if the title is empty. CCMAIL: 56766-done@bugs.kde.org M +1 -1 koMainWindow.cc 1.297 --- koffice/lib/kofficecore/koMainWindow.cc #1.296:1.297 @@ -1095,5 +1095,5 @@ void KoMainWindow::print(bool quick) { } - if ( title.isNull() ) + if ( title.isEmpty() ) title = fileName; printer.setDocName( title ); |