QWidget *parent):
Dyalog(parent), result(result_)
{
- setWindowTitle(tr("Book Details"));
+ setWindowTitle(tr("Download book?"));
QLabel *title = new QLabel(result.title, this);
addWidget(title);
addWidget(source);
addStretch();
addButton(tr("Download"), this, SLOT(accept()), QDialogButtonBox::ActionRole);
- addButton(tr("Close"), this, SLOT(reject()), QDialogButtonBox::DestructiveRole);
}