summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/project.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/project.cpp')
-rw-r--r--kdevdesigner/designer/project.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdevdesigner/designer/project.cpp b/kdevdesigner/designer/project.cpp
index 5c700a0f..61143c95 100644
--- a/kdevdesigner/designer/project.cpp
+++ b/kdevdesigner/designer/project.cpp
@@ -1316,8 +1316,8 @@ void Project::addObject( TQObject *o )
TQT_SLOT( updateUndoRedo( bool, bool, const TQString &, const TQString & ) )
);
}
- if ( fw->tqparentWidget() ) {
- fw->tqparentWidget()->setFixedSize( 1, 1 );
+ if ( fw->parentWidget() ) {
+ fw->parentWidget()->setFixedSize( 1, 1 );
fw->show();
}
} else {
@@ -1494,7 +1494,7 @@ void Project::designerCreated()
fw->reparent( MainWindow::self->qWorkspace(), TQPoint( 0, 0 ), FALSE );
TQApplication::sendPostedEvents( MainWindow::self->qWorkspace(),
TQEvent::ChildInserted );
- fw->tqparentWidget()->setFixedSize( 1, 1 );
+ fw->parentWidget()->setFixedSize( 1, 1 );
fw->show();
}
}