diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/kernel/qsimplerichtext.cpp | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
Diffstat (limited to 'src/kernel/qsimplerichtext.cpp')
-rw-r--r-- | src/kernel/qsimplerichtext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qsimplerichtext.cpp b/src/kernel/qsimplerichtext.cpp index 20bea6af4..e9fd7f1d4 100644 --- a/src/kernel/qsimplerichtext.cpp +++ b/src/kernel/qsimplerichtext.cpp @@ -244,8 +244,8 @@ void TQSimpleRichText::setWidth( TQPainter *p, int w ) if ( w == d->cachedWidth && d->cachedWidthWithPainter ) return; d->doc->formatter()->setAllowBreakInWords( d->doc->isPageBreakEnabled() || - p && p->device() && - p->device()->devType() == TQInternal::Printer ); + (p && p->device() && + (p->device()->devType() == TQInternal::Printer)) ); p->save(); d->cachedWidth = w; d->cachedWidthWithPainter = TRUE; |