mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Several adjustments related to Qt6
* Avoid ambiguous definition during unity build on Windows * Add missing include * Add Qt6 to expressionparser * Add Qt6 to nightcharts * Replace forward define of QStringList with include <QStringList> * Use toMSecsSinceEpoch * Use setContentsMargins
This commit is contained in:
@@ -74,7 +74,7 @@ RiuProjectAndPropertyView::RiuProjectAndPropertyView( QWidget* parent, Qt::Windo
|
||||
propertyHeader->setFixedHeight( 20 );
|
||||
|
||||
QVBoxLayout* layout = new QVBoxLayout;
|
||||
layout->setMargin( 0 );
|
||||
layout->setContentsMargins( 0, 0, 0, 0 );
|
||||
layout->addWidget( propertyHeader );
|
||||
layout->addWidget( m_propertyView );
|
||||
|
||||
@@ -87,7 +87,7 @@ RiuProjectAndPropertyView::RiuProjectAndPropertyView( QWidget* parent, Qt::Windo
|
||||
splitter->addWidget( propertyEditorWithHeader );
|
||||
|
||||
QVBoxLayout* layout = new QVBoxLayout;
|
||||
layout->setMargin( 0 );
|
||||
layout->setContentsMargins( 0, 0, 0, 0 );
|
||||
layout->addWidget( splitter );
|
||||
|
||||
setLayout( layout );
|
||||
|
||||
Reference in New Issue
Block a user