mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
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:
parent
f81593fde9
commit
c79fa0747e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user