[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.3/kdelibs/khtml
From:       John Layt <john () layt ! net>
Date:       2009-08-13 21:19:02
Message-ID: 1250198342.906417.8983.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1011065 by jlayt:

Disable Print Range From and To in the Print Dialog as this is not supported
by khtml.  This also applies to all khtmlpart based printing such as KMail.

Backport from trunk commit 1011062

BUG 194574



 M  +1 -0      khtmlview.cpp  


--- branches/KDE/4.3/kdelibs/khtml/khtmlview.cpp #1011064:1011065
@@ -3137,6 +3137,7 @@
     const QPointerDeleter settingsDeleter(printSettings); //the printdialog takes \
ownership of the settings widget, thus this workaround to avoid double deletion  \
                QPrinter printer;
     QPointer<QPrintDialog> dialog = KdePrint::createPrintDialog(&printer, \
QList<QWidget*>() << printSettings, this); +    dialog->setOption( \
QAbstractPrintDialog::PrintPageRange, false);  const QPointerDeleter \
dialogDeleter(dialog);  
     QString docname = m_part->xmlDocImpl()->URL().prettyUrl();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic