Make DatabaseWidget splitter non-collapsible.

This commit is contained in:
Felix Geyer 2014-05-17 11:27:04 +02:00
parent 76da4a6cd4
commit 0e75e6ff03

View File

@ -62,6 +62,7 @@ DatabaseWidget::DatabaseWidget(Database* db, QWidget* parent)
m_mainWidget = new QWidget(this); m_mainWidget = new QWidget(this);
QLayout* layout = new QHBoxLayout(m_mainWidget); QLayout* layout = new QHBoxLayout(m_mainWidget);
m_splitter = new QSplitter(m_mainWidget); m_splitter = new QSplitter(m_mainWidget);
m_splitter->setChildrenCollapsible(false);
QWidget* rightHandSideWidget = new QWidget(m_splitter); QWidget* rightHandSideWidget = new QWidget(m_splitter);
m_searchWidget->setParent(rightHandSideWidget); m_searchWidget->setParent(rightHandSideWidget);