CLang-tidy.
This commit is contained in:
parent
826508eee8
commit
91dc79169a
|
@ -150,8 +150,7 @@ DIALOG_SHIM::~DIALOG_SHIM()
|
||||||
if( HasKiway() )
|
if( HasKiway() )
|
||||||
Kiway().SetBlockingDialog( nullptr );
|
Kiway().SetBlockingDialog( nullptr );
|
||||||
|
|
||||||
if( m_qmodal_parent_disabler )
|
delete m_qmodal_parent_disabler;
|
||||||
delete m_qmodal_parent_disabler; // usually NULL by now
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -599,7 +598,7 @@ void DIALOG_SHIM::OnCharHook( wxKeyEvent& aEvt )
|
||||||
[&]( int& idx )
|
[&]( int& idx )
|
||||||
{
|
{
|
||||||
// Wrap-around modulus
|
// Wrap-around modulus
|
||||||
int size = m_tabOrder.size();
|
int size = (int) m_tabOrder.size();
|
||||||
idx = ( ( idx + delta ) % size + size ) % size;
|
idx = ( ( idx + delta ) % size + size ) % size;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue