diff options
Diffstat (limited to 'kexi/widget/tableview/kexicomboboxpopup.cpp')
-rw-r--r-- | kexi/widget/tableview/kexicomboboxpopup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/widget/tableview/kexicomboboxpopup.cpp b/kexi/widget/tableview/kexicomboboxpopup.cpp index 65edd806..4fe8b940 100644 --- a/kexi/widget/tableview/kexicomboboxpopup.cpp +++ b/kexi/widget/tableview/kexicomboboxpopup.cpp @@ -298,9 +298,9 @@ void KexiComboBoxPopup::updateSize(int minWidth) d->tv->adjustColumnWidthToContents(-1); - KexiTableEdit *te = dynamic_cast<KexiTableEdit*>(tqparentWidget()); + KexiTableEdit *te = dynamic_cast<KexiTableEdit*>(parentWidget()); const int width = TQMAX( d->tv->tableSize().width(), - (te ? te->totalSize().width() : (tqparentWidget()?tqparentWidget()->width():0/*sanity*/)) ); + (te ? te->totalSize().width() : (parentWidget()?parentWidget()->width():0/*sanity*/)) ); kexidbg << "KexiComboBoxPopup::updateSize(): size=" << size() << endl; resize( TQMAX(minWidth, width)/*+(d->tv->columns()>1?2:0)*/ /*(d->updateSizeCalled?0:1)*/, d->tv->rowHeight() * rows +2 ); kexidbg << "KexiComboBoxPopup::updateSize(): size after=" << size() << endl; |