[Kde-print-devel] [Bug 55416] Paper size dialog is disabled in koffice apps
Casper Boemann
cbr at boemann.dk
Mon May 21 13:00:21 CEST 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=55416
cbr boemann dk changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From cbr boemann dk 2007-05-21 13:00 -------
SVN commit 666944 by boemann:
No longer disable pagesize when app sets a pagesize
BUG:55416
M +0 -2 kpgeneralpage.cpp
M +0 -2 kpqtpage.cpp
M +0 -1 kprinter.cpp
--- trunk/KDE/kdelibs/kdeprint/kpgeneralpage.cpp #666943:666944
@ -623,8 +623,6 @
if ( m_orientbox->isEnabled() )
m_orientbox->setDisabled( opts[ "kde-orientation-fixed" ] == "1" );
- if ( m_pagesize->isEnabled() )
- m_pagesize->setDisabled( opts[ "kde-pagesize-fixed" ] == "1" );
}
void KPGeneralPage::getOptions(QMap<QString,QString>& opts, bool incldef)
--- trunk/KDE/kdelibs/kdeprint/kpqtpage.cpp #666943:666944
@ -304,8 +304,6 @
if ( m_orientbox->isEnabled() )
m_orientbox->setDisabled( opts[ "kde-orientation-fixed" ] == "1" );
- if ( m_pagesize->isEnabled() )
- m_pagesize->setDisabled( opts[ "kde-pagesize-fixed" ] == "1" );
}
void KPQtPage::getOptions(QMap<QString,QString>& opts, bool incldef)
--- trunk/KDE/kdelibs/kdeprint/kprinter.cpp #666943:666944
@ -733,7 +733,6 @
{
KMFactory::self()->settings()->pageSize = s;
setOption("kde-pagesize",QString::number((int)s),true);
- d->m_impl->broadcastOption( "kde-pagesize-fixed", "1" );
}
void KPrinter::setOptions(const QMap<QString,QString>& opts)
More information about the Kde-print-devel
mailing list