From 95e5ed7395da2115d1c144a591272b37dc57ccb6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 15 Sep 2019 00:07:13 +0200 Subject: [PATCH] Some whitespace only fixes No real changes --- src/qt/listctrl.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/qt/listctrl.cpp b/src/qt/listctrl.cpp index c0d3a48bd5..8519c00f2c 100644 --- a/src/qt/listctrl.cpp +++ b/src/qt/listctrl.cpp @@ -188,12 +188,11 @@ void wxListCtrl::Init() wxListCtrl::~wxListCtrl() { - - if (m_ownsImageListNormal) + if ( m_ownsImageListNormal ) delete m_imageListNormal; - if (m_ownsImageListSmall) + if ( m_ownsImageListSmall ) delete m_imageListSmall; - if (m_ownsImageListState) + if ( m_ownsImageListState ) delete m_imageListState; } @@ -399,7 +398,7 @@ long wxListCtrl::SetItem(long index, int col, const wxString& label, int imageId return SetItem(info); } -int wxListCtrl::GetItemState(long item, long stateMask) const +int wxListCtrl::GetItemState(long item, long stateMask) const { wxListItem info; @@ -407,7 +406,7 @@ int wxListCtrl::GetItemState(long item, long stateMask) const info.m_stateMask = stateMask; info.m_itemId = item; - if (!GetItem(info)) + if ( !GetItem(info) ) return 0; return info.m_state;