equal
deleted
inserted
replaced
156 hr->setFixedHeight(10); |
156 hr->setFixedHeight(10); |
157 layout->addWidget(hr, row++, 0, 1, 2);*/ |
157 layout->addWidget(hr, row++, 0, 1, 2);*/ |
158 |
158 |
159 connect(btnUpload, SIGNAL(clicked()), this, SLOT(upload())); |
159 connect(btnUpload, SIGNAL(clicked()), this, SLOT(upload())); |
160 connect(pbCancel, SIGNAL(clicked()), this, SLOT(reject())); |
160 connect(pbCancel, SIGNAL(clicked()), this, SLOT(reject())); |
|
161 |
|
162 this->setWindowModality(Qt::WindowModal); |
161 } |
163 } |
162 |
164 |
163 void HWUploadVideoDialog::showEvent(QShowEvent * event) |
165 void HWUploadVideoDialog::showEvent(QShowEvent * event) |
164 { |
166 { |
165 QDialog::showEvent(event); |
167 QDialog::showEvent(event); |