From kde-commits Thu Aug 31 23:00:29 2006 From: Jaroslaw Staniek Date: Thu, 31 Aug 2006 23:00:29 +0000 To: kde-commits Subject: koffice/libs/koproperty (silent) Message-Id: <1157065229.216373.9110.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=115706524306277 SVN commit 579375 by staniek: SVN_SILENT fix height & possible crash M +1 -1 editor.cpp M +1 -1 editors/combobox.cpp --- trunk/koffice/libs/koproperty/editor.cpp #579374:579375 @@ -757,7 +757,7 @@ int y = viewportToContents(QPoint(0, itemRect(d->currentItem).y())).y(); QRect geometry(columnWidth(0), y, columnWidth(1) + 1, d->currentItem->height()); - d->undoButton->resize(d->baseRowHeight, d->baseRowHeight); + d->undoButton->resize(d->baseRowHeight, d->currentItem->height()); updateEditorGeometry(true, show); --- trunk/koffice/libs/koproperty/editors/combobox.cpp #579374:579375 @@ -82,7 +82,7 @@ void ComboBox::setValue(const QVariant &value, bool emitChange) { - if (!property()->listData()) { + if (!property() || !property()->listData()) { kopropertywarn << "ComboBox::value(): propery listData not available!" << endl; return; }