comparison moreinformationdialog.cpp @ 301:3bb6b63420ad status_outside_tabs

Merge from the default branch
author Chris Cannam
date Tue, 22 Feb 2011 15:52:22 +0000
parents fd9dc5a457d8
children
comparison
equal deleted inserted replaced
297:e4284fab6962 301:3bb6b63420ad
54 connect(bb, SIGNAL(accepted()), this, SLOT(accept())); 54 connect(bb, SIGNAL(accepted()), this, SLOT(accept()));
55 layout->addWidget(bb, 2, 0, 1, 2); 55 layout->addWidget(bb, 2, 0, 1, 2);
56 56
57 m_moreButton = bb->addButton(tr("More Details..."), 57 m_moreButton = bb->addButton(tr("More Details..."),
58 QDialogButtonBox::ActionRole); 58 QDialogButtonBox::ActionRole);
59 m_moreButton->setAutoDefault(false);
59 m_moreButton->setDefault(false); 60 m_moreButton->setDefault(false);
60 61
61 connect(m_moreButton, SIGNAL(clicked()), this, SLOT(moreClicked())); 62 connect(m_moreButton, SIGNAL(clicked()), this, SLOT(moreClicked()));
62 63
63 bb->button(QDialogButtonBox::Ok)->setDefault(true); 64 bb->button(QDialogButtonBox::Ok)->setDefault(true);