[bt-devel] Problems with SVN
Eeli Kaikkonen
eekaikko at mail.student.oulu.fi
Sat Mar 8 13:24:51 MST 2008
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)
More information about the bt-devel
mailing list