[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/koffice/1.6/koffice/lib/koproperty (silent)
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2006-08-31 22:53:34
Message-ID: 1157064814.474405.8669.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 579374 by staniek:

SVN_SILENT fix height & possible crash


 M  +1 -1      editor.cpp  
 M  +1 -1      editors/combobox.cpp  


--- branches/koffice/1.6/koffice/lib/koproperty/editor.cpp #579373:579374
@@ -749,7 +749,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);
 
--- branches/koffice/1.6/koffice/lib/koproperty/editors/combobox.cpp #579373:579374
@@ -79,7 +79,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;
 	}
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic