mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
parent
7f2bc706de
commit
20c03ba459
@ -183,7 +183,6 @@ bool UserAgentDialog::showEditDialog(const QString &title, QString* rSite, QStri
|
||||
QComboBox* editAgent = new QComboBox(dialog);
|
||||
editAgent->setEditable(true);
|
||||
editAgent->addItems(m_knownUserAgents);
|
||||
editAgent->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLength);
|
||||
|
||||
QDialogButtonBox* box = new QDialogButtonBox(dialog);
|
||||
box->addButton(QDialogButtonBox::Ok);
|
||||
@ -206,6 +205,7 @@ bool UserAgentDialog::showEditDialog(const QString &title, QString* rSite, QStri
|
||||
|
||||
dialog->setWindowTitle(title);
|
||||
dialog->setMinimumSize(550, 100);
|
||||
dialog->setMaximumWidth(550);
|
||||
|
||||
if (dialog->exec()) {
|
||||
*rSite = editSite->text();
|
||||
|
Loading…
Reference in New Issue
Block a user