Commit cbef5268 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

KF5 compile fix.

parent 9d2e1fe6
......@@ -39,7 +39,7 @@ ObjectsWindow::ObjectsWindow(const QString &title, QWidget *parent)
m_objectsTree->verticalHeader()->setDefaultSectionSize(20);
m_objectsTree->verticalHeader()->setVisible(false);
#if QT_VERSION >= 0x050000
m_diagramsTree->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
m_objectsTree->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
#else
m_objectsTree->horizontalHeader()->setResizeMode(QHeaderView::Stretch);
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment