mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 07:16:53 -06:00
Fix of compiler warning
This commit is contained in:
parent
d3b1af3724
commit
fc146bb554
@ -179,7 +179,7 @@ void PdmUiToolBarEditor::configureAndUpdateUi(const QString& uiConfigName)
|
||||
// Enabled state of a tool button is controlled by the QAction associated with a tool button
|
||||
// Changing the state of a widget directly has no effect
|
||||
// See Qt doc for QToolBar::insertWidget
|
||||
QAction* action = m_actions[i];
|
||||
QAction* action = m_actions[static_cast<int>(i)];
|
||||
|
||||
caf::PdmUiFieldHandle* uiFieldHandle = field->uiCapability();
|
||||
if (uiFieldHandle)
|
||||
|
Loading…
Reference in New Issue
Block a user