Commit bf0bd72d authored by Pino Toscano's avatar Pino Toscano
Browse files

java: set names in permission dialog

This makes sure the reply from the user is used and sent back.

Fixes commit b68911a6.

(manual backport of commit 856a96852f566ed7eb855810e347f95003c25017 and
commit bd4be07823e422fa15bf4273e0bb9df35b866e35 from khtml)
parent c990b7d3
......@@ -808,16 +808,20 @@ QString PermissionDialog::exec( const QString & cert, const QString & perm ) {
QPushButton* const no = new QPushButton( i18n("&No"), dialog );
no->setObjectName( "no" );
no->setDefault( true );
buttonLayout->addWidget( no );
QPushButton* const reject = new QPushButton( i18n("&Reject All"), dialog );
reject->setObjectName( "reject" );
buttonLayout->addWidget( reject );
QPushButton* const yes = new QPushButton( i18n("&Yes"), dialog );
yes->setObjectName( "yes" );
buttonLayout->addWidget( yes );
QPushButton* const grant = new QPushButton( i18n("&Grant All"), dialog );
grant->setObjectName( "grant" );
buttonLayout->addWidget( grant );
dialogLayout->addLayout( buttonLayout );
dialog->resize( dialog->minimumSizeHint() );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment