citra_qt: Drop Qt 5 version checks in code
We don't support Qt 4.x anymore.
This commit is contained in:
parent
125f5d1e68
commit
9ec0609ae5
2 changed files with 1 additions and 18 deletions
|
@ -192,12 +192,7 @@ GPUCommandListWidget::GPUCommandListWidget(QWidget* parent)
|
|||
list_widget->setFont(GetMonospaceFont());
|
||||
list_widget->setRootIsDecorated(false);
|
||||
list_widget->setUniformRowHeights(true);
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
|
||||
list_widget->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
|
||||
#else
|
||||
list_widget->header()->setResizeMode(QHeaderView::ResizeToContents);
|
||||
#endif
|
||||
|
||||
connect(list_widget->selectionModel(),
|
||||
SIGNAL(currentChanged(const QModelIndex&, const QModelIndex&)), this,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue