mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-27 05:37:21 -05: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:
@@ -44,7 +44,10 @@ RiuMessagePanel::RiuMessagePanel( QWidget* parent )
|
||||
: QWidget( parent )
|
||||
{
|
||||
QVBoxLayout* layout = new QVBoxLayout( this );
|
||||
layout->setMargin( caf::StyleSheetTools::smallContentMargin() );
|
||||
layout->setContentsMargins( caf::StyleSheetTools::smallContentMargin(),
|
||||
caf::StyleSheetTools::smallContentMargin(),
|
||||
caf::StyleSheetTools::smallContentMargin(),
|
||||
caf::StyleSheetTools::smallContentMargin() );
|
||||
|
||||
m_textEdit = new QPlainTextEdit;
|
||||
m_textEdit->setReadOnly( true );
|
||||
|
||||
Reference in New Issue
Block a user