From 359640943bcf155faa9a067dde9e00a123276290 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Feb 2012 17:43:39 -0600 Subject: Automated update from Qt3 --- src/kernel/qlayout.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/qlayout.cpp') diff --git a/src/kernel/qlayout.cpp b/src/kernel/qlayout.cpp index df9229ed8..11960dba1 100644 --- a/src/kernel/qlayout.cpp +++ b/src/kernel/qlayout.cpp @@ -433,7 +433,7 @@ void TQGridLayoutData::setSize( int r, int c ) void TQGridLayoutData::setNextPosAfter( int row, int col ) { if ( addVertical ) { - if ( col > nextC || col == nextC && row >= nextR ) { + if ( (col > nextC) || ((col == nextC) && (row >= nextR)) ) { nextR = row + 1; nextC = col; if ( nextR >= rr ) { @@ -442,7 +442,7 @@ void TQGridLayoutData::setNextPosAfter( int row, int col ) } } } else { - if ( row > nextR || row == nextR && col >= nextC ) { + if ( (row > nextR) || ((row == nextR) && (col >= nextC)) ) { nextR = row; nextC = col + 1; if ( nextC >= cc ) { @@ -1398,7 +1398,7 @@ void TQGridLayout::setColStretch( int col, int stretch ) data->setColStretch( col, stretch ); } -#if QT_VERSION >= 0x040000 +#if TQT_VERSION >= 0x040000 #error "Make add{Row,Col}Spacing() inline QT_NO_COMPAT functions defined in terms of set{Row,Col}Spacing()" #endif -- cgit v1.2.3