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

List:       kde-commits
Subject:    koffice/kexi/plugins/forms/widgets
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2008-03-16 13:56:26
Message-ID: 1205675786.559024.31409.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 786246 by sebsauer:

crash--

 M  +6 -1      kexidbcombobox.cpp  


--- trunk/koffice/kexi/plugins/forms/widgets/kexidbcombobox.cpp #786245:786246
@@ -182,11 +182,16 @@
 #else
 #pragma WARNING( KexiDBComboBox::editorGeometry() OK? )
 #endif
+
+#if 0 //20080316, sebsauer; crashes here with;
 	QRect r( QStyle::visualRect(
 		qApp->layoutDirection(), 
 		d->paintedCombo->geometry(),
 		style()->subControlRect(QStyle::CC_ComboBox, 0, QStyle::SC_ComboBoxEditField, d->paintedCombo) ) );
-	
+#else
+    QRect r = d->paintedCombo->geometry();
+#endif
+
 	//if ((height()-r.bottom())<6)
 	//	r.setBottom(height()-6);
 	return r;
[prev in list] [next in list] [prev in thread] [next in thread] 

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