QTfrontend/ui/dialog/upload_video.cpp
changeset 7795 ba32d3f9e567
parent 7794 ab7b94c03bc9
child 9080 9b42757d7e71
equal deleted inserted replaced
7794:ab7b94c03bc9 7795:ba32d3f9e567
   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);