mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
refact2
This commit is contained in:
@@ -30,7 +30,13 @@ void TraineesView::resizeEvent(QResizeEvent *event)
|
||||
else
|
||||
{//control
|
||||
if(adminMode)
|
||||
widthTrainee = width - (470 + 10);
|
||||
{
|
||||
#ifdef PROJECT_TYPE_DEBUG
|
||||
widthTrainee = width - (470 + 10);
|
||||
#else
|
||||
widthTrainee = width - (420 + 10);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
widthTrainee = width - (440 + 10);
|
||||
}
|
||||
@@ -80,7 +86,11 @@ void TraineesView::preparationTreeWidget()
|
||||
|
||||
if(adminMode)
|
||||
{
|
||||
#ifdef PROJECT_TYPE_DEBUG
|
||||
treeWidget->setColumnHidden(ColumnsTreeTrainees::clmn_ID, false);
|
||||
#else
|
||||
treeWidget->setColumnHidden(ColumnsTreeTrainees::clmn_ID, true);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user