mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
refact ui 1
This commit is contained in:
@@ -23,7 +23,7 @@ DialogVersionControl::DialogVersionControl(ConnectorToServer* connectorToServer,
|
||||
ui->deleteVersionButton->setObjectName("deleteVersionButton");
|
||||
ui->switchServerVersionButton->setObjectName("switchServerVersionButton");
|
||||
|
||||
setMinimumSize(500, 300);
|
||||
setMinimumSize(600, 300);
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
setWindowTitle(tr("Version control"));
|
||||
|
||||
@@ -169,7 +169,10 @@ void DialogVersionControl::on_deleteVersionButton_clicked()
|
||||
return;
|
||||
}
|
||||
|
||||
if(SpecMsgBox::WarningYesNo(this, tr("The deletion will be irrevocable.\nDelete it anyway?")) == QDialog::Accepted)
|
||||
{
|
||||
emit sigSendDeleteVersion(selectedVersion);
|
||||
}
|
||||
}
|
||||
|
||||
void DialogVersionControl::on_switchServerVersionButton_clicked()
|
||||
|
||||
Reference in New Issue
Block a user