diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-15 15:08:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-15 15:08:51 -0600 |
commit | fb652a2be46ce1a2081e5dde268cd9f4ebe6fdd0 (patch) | |
tree | a01fcd88aa65a77c2b2e12ba1a55851ddfe5afcc /kmdi/kmdichildview.cpp | |
parent | 3fbca5d9a4bd057ed5f9df138333e6c16dbdcc62 (diff) | |
download | tdelibs-fb652a2be46ce1a2081e5dde268cd9f4ebe6fdd0.tar.gz tdelibs-fb652a2be46ce1a2081e5dde268cd9f4ebe6fdd0.zip |
Fix kdelibs FTBFS on native TQt3
Diffstat (limited to 'kmdi/kmdichildview.cpp')
-rw-r--r-- | kmdi/kmdichildview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmdi/kmdichildview.cpp b/kmdi/kmdichildview.cpp index 7b626d027..cda168fb8 100644 --- a/kmdi/kmdichildview.cpp +++ b/kmdi/kmdichildview.cpp @@ -729,12 +729,12 @@ void KMdiChildView::setMaximumSize( int maxw, int maxh ) if ( mdiParent() && mdiParent()->state() == KMdiChildFrm::Normal ) { int w = maxw + KMDI_CHILDFRM_DOUBLE_BORDER; - if ( w > QWIDGETSIZE_MAX ) - w = QWIDGETSIZE_MAX; + if ( w > TQWIDGETSIZE_MAX ) + w = TQWIDGETSIZE_MAX; int h = maxh + KMDI_CHILDFRM_DOUBLE_BORDER + KMDI_CHILDFRM_SEPARATOR + mdiParent() ->captionHeight(); - if ( h > QWIDGETSIZE_MAX ) - h = QWIDGETSIZE_MAX; + if ( h > TQWIDGETSIZE_MAX ) + h = TQWIDGETSIZE_MAX; mdiParent()->setMaximumSize( w, h ); } |