summaryrefslogtreecommitdiffstats
path: root/libkdepim/progressdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/progressdialog.cpp')
-rw-r--r--libkdepim/progressdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkdepim/progressdialog.cpp b/libkdepim/progressdialog.cpp
index 2788afe2..580830de 100644
--- a/libkdepim/progressdialog.cpp
+++ b/libkdepim/progressdialog.cpp
@@ -87,16 +87,16 @@ void TransactionItemView::resizeContents( int w, int h )
// Tell the tqlayout in the tqparent (progressdialog) that our size changed
updateGeometry();
// Resize the tqparent (progressdialog) - this works but resize horizontally too often
- //tqparentWidget()->adjustSize();
+ //parentWidget()->adjustSize();
TQApplication::sendPostedEvents( 0, TQEvent::ChildInserted );
TQApplication::sendPostedEvents( 0, TQEvent::LayoutHint );
- TQSize sz = tqparentWidget()->tqsizeHint();
- int currentWidth = tqparentWidget()->width();
+ TQSize sz = parentWidget()->tqsizeHint();
+ int currentWidth = parentWidget()->width();
// Don't resize to sz.width() every time when it only reduces a little bit
if ( currentWidth < sz.width() || currentWidth > sz.width() + 100 )
currentWidth = sz.width();
- tqparentWidget()->resize( currentWidth, sz.height() );
+ parentWidget()->resize( currentWidth, sz.height() );
}
TQSize TransactionItemView::tqsizeHint() const