[bt-devel] Problems with SVN

Martin Gruner mg.pub at gmx.net
Sun Mar 9 10:04:52 MST 2008


Eeli,

I disabled the resize() call. It still hangs.
Can you look again when there is more time? 

Thanks,

mg

Am Samstag, 8. März 2008 schrieb Eeli Kaikkonen:
> On Sat, 8 Mar 2008, Eeli Kaikkonen wrote:
> > I can confirm this after upgrading to KDE 4.0.2 and recompiling BT. I
> > can look at it but have no much time ATM.
>
> A quick finding: it's in here:
>
> void CSearchDialog::loadDialogSettings()
> {
> 	qDebug("CSearchDialog::loadDialogSettings start");
> 	//we don't want to set wrong sizes
> 	// set the size of the main widget
> 	CBTConfig::getConfig()->beginGroup("CSearchDialog");
> 	qDebug("CSearchDialog::loadDialogSettings 1");
> 	if (CBTConfig::getConfig()->contains("size")) {
> 		resize(CBTConfig::getConfig()->value("size").toSize());
> 		qDebug("CSearchDialog::loadDialogSettings 2");
> 	}
> 	else {
> 		qDebug("CSearchDialog::loadDialogSettings 3");
> 		resize( sizeHint() );
> 		qDebug("CSearchDialog::loadDialogSettings 3.1");
> 	}
> 	qDebug("CSearchDialog::loadDialogSettings 3.2");
> 	if (CBTConfig::getConfig()->contains("pos")) {
> 		qDebug("CSearchDialog::loadDialogSettings 4");
> 		move(CBTConfig::getConfig()->value("pos").toPoint());
> 	}
> 	qDebug("CSearchDialog::loadDialogSettings 5");
> 	CBTConfig::getConfig()->endGroup();
> 	qDebug("CSearchDialog::loadDialogSettings end");
> }
>
>
> When there is no size saved this goes to the else clause and
> resize(sizeHint()) is where it stucks. I don't know what happens if
> there is size already saved, i.e. if it's sizeHint() or resize().
> Anyways, this may be a bug in KDE (KDialog). But now I'm out of time...
>
>   Yours,
> 	Eeli Kaikkonen (Mr.), Oulu, Finland
> 	e-mail: eekaikko at mailx.studentx.oulux.fix (with no x)
>
> _______________________________________________
> bt-devel mailing list
> bt-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/bt-devel





More information about the bt-devel mailing list