[GUI] Remove code for Qt < 5.9
This commit is contained in:
@@ -109,11 +109,7 @@ DlgCustomKeyboardImp::DlgCustomKeyboardImp( QWidget* parent )
|
||||
ui->commandTreeWidget->setHeaderLabels(labels);
|
||||
ui->commandTreeWidget->header()->hide();
|
||||
ui->commandTreeWidget->setIconSize(QSize(32, 32));
|
||||
#if QT_VERSION >= 0x050000
|
||||
ui->commandTreeWidget->header()->setSectionResizeMode(0, QHeaderView::ResizeToContents);
|
||||
#else
|
||||
ui->commandTreeWidget->header()->setResizeMode(0, QHeaderView::ResizeToContents);
|
||||
#endif
|
||||
|
||||
ui->assignedTreeWidget->setHeaderLabels(labels);
|
||||
ui->assignedTreeWidget->header()->hide();
|
||||
|
||||
Reference in New Issue
Block a user