equal
deleted
inserted
replaced
58 layout->addWidget(pbCancel, 3, 2); |
58 layout->addWidget(pbCancel, 3, 2); |
59 |
59 |
60 connect(pbOK, SIGNAL(clicked()), this, SLOT(accept())); |
60 connect(pbOK, SIGNAL(clicked()), this, SLOT(accept())); |
61 connect(pbCancel, SIGNAL(clicked()), this, SLOT(reject())); |
61 connect(pbCancel, SIGNAL(clicked()), this, SLOT(reject())); |
62 connect(pbDefault, SIGNAL(clicked()), this, SLOT(setDefaultPort())); |
62 connect(pbDefault, SIGNAL(clicked()), this, SLOT(setDefaultPort())); |
|
63 |
|
64 this->setWindowModality(Qt::WindowModal); |
63 } |
65 } |
64 |
66 |
65 void HWHostPortDialog::setDefaultPort() |
67 void HWHostPortDialog::setDefaultPort() |
66 { |
68 { |
67 sbPort->setValue(46631); |
69 sbPort->setValue(46631); |