Fixed initial size of the splitter in IdDialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7947 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-02-16 15:45:53 +00:00
parent f81593fde9
commit c79fa0747e

View File

@ -156,6 +156,10 @@ IdDialog::IdDialog(QWidget *parent) :
ui->splitter->setStretchFactor(0, 1);
ui->splitter->setStretchFactor(1, 0);
QList<int> sizes;
sizes << width() << 500; // Qt calculates the right sizes
ui->splitter->setSizes(sizes);
/* Add filter types */
ui->filterComboBox->addItem(tr("All"), RSID_FILTER_ALL);
ui->filterComboBox->addItem(tr("Owned by you"), RSID_FILTER_OWNED_BY_YOU);