mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -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
|
// 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
|
// Changing the state of a widget directly has no effect
|
||||||
// See Qt doc for QToolBar::insertWidget
|
// See Qt doc for QToolBar::insertWidget
|
||||||
QAction* action = m_actions[i];
|
QAction* action = m_actions[static_cast<int>(i)];
|
||||||
|
|
||||||
caf::PdmUiFieldHandle* uiFieldHandle = field->uiCapability();
|
caf::PdmUiFieldHandle* uiFieldHandle = field->uiCapability();
|
||||||
if (uiFieldHandle)
|
if (uiFieldHandle)
|
||||||
|
Loading…
Reference in New Issue
Block a user