diff options
Diffstat (limited to 'xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/ListItem.h')
| -rw-r--r-- | xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/ListItem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/ListItem.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/ListItem.h index 944b1b9..13cf2d1 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/ListItem.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/ListItem.h | |||
| @@ -37,7 +37,7 @@ namespace gui | |||
| 37 | GUIHANDLE GetControlHandle() const { return m_controlHandle; } | 37 | GUIHANDLE GetControlHandle() const { return m_controlHandle; } |
| 38 | 38 | ||
| 39 | protected: | 39 | protected: |
| 40 | CAddonGUIControlBase(CAddonGUIControlBase* window) | 40 | explicit CAddonGUIControlBase(CAddonGUIControlBase* window) |
| 41 | : m_controlHandle(nullptr), | 41 | : m_controlHandle(nullptr), |
| 42 | m_interface(::kodi::addon::CAddonBase::m_interface->toKodi), | 42 | m_interface(::kodi::addon::CAddonBase::m_interface->toKodi), |
| 43 | m_Window(window) {} | 43 | m_Window(window) {} |
| @@ -111,7 +111,7 @@ namespace gui | |||
| 111 | * Related to call of "ListItemPtr kodi::gui::CWindow::GetListItem(int listPos)" | 111 | * Related to call of "ListItemPtr kodi::gui::CWindow::GetListItem(int listPos)" |
| 112 | * Not needed for addon development itself | 112 | * Not needed for addon development itself |
| 113 | */ | 113 | */ |
| 114 | CListItem(GUIHANDLE listItemHandle) | 114 | explicit CListItem(GUIHANDLE listItemHandle) |
| 115 | : CAddonGUIControlBase(nullptr) | 115 | : CAddonGUIControlBase(nullptr) |
| 116 | { | 116 | { |
| 117 | m_controlHandle = listItemHandle; | 117 | m_controlHandle = listItemHandle; |
