QTfrontend/ui/dialog/input_password.cpp
changeset 7795 ba32d3f9e567
parent 6952 7f70f37bbf08
child 8181 70e980278080
equal deleted inserted replaced
7794:ab7b94c03bc9 7795:ba32d3f9e567
    48     QPushButton * pbCancel = dbbButtons->addButton(QDialogButtonBox::Cancel);
    48     QPushButton * pbCancel = dbbButtons->addButton(QDialogButtonBox::Cancel);
    49     layout->addWidget(dbbButtons, 3, 0);
    49     layout->addWidget(dbbButtons, 3, 0);
    50 
    50 
    51     connect(pbOK, SIGNAL(clicked()), this, SLOT(accept()));
    51     connect(pbOK, SIGNAL(clicked()), this, SLOT(accept()));
    52     connect(pbCancel, SIGNAL(clicked()), this, SLOT(reject()));
    52     connect(pbCancel, SIGNAL(clicked()), this, SLOT(reject()));
       
    53 
       
    54     this->setWindowModality(Qt::WindowModal);
    53 }
    55 }