compiler warning fixed
This commit is contained in:
parent
d2d37852a2
commit
a2f3f4d057
@ -86,9 +86,10 @@ void QskInputCompositionModel::composeKey( Qt::Key key )
|
||||
{
|
||||
case Qt::Key_Backspace:
|
||||
case Qt::Key_Muhenkan:
|
||||
{
|
||||
backspace();
|
||||
return;
|
||||
|
||||
}
|
||||
case Qt::Key_Space:
|
||||
{
|
||||
if ( !spaceLeft )
|
||||
@ -107,7 +108,6 @@ void QskInputCompositionModel::composeKey( Qt::Key key )
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
case Qt::Key_Return:
|
||||
{
|
||||
if ( !spaceLeft )
|
||||
@ -118,19 +118,20 @@ void QskInputCompositionModel::composeKey( Qt::Key key )
|
||||
commit( m_data->preedit.left( spaceLeft ) );
|
||||
else if ( hints & Qt::ImhMultiLine )
|
||||
commit( qskKeyString( key ) );
|
||||
else
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
case Qt::Key_Left:
|
||||
case Qt::Key_Right:
|
||||
{
|
||||
moveCursor( key );
|
||||
return;
|
||||
|
||||
}
|
||||
default:
|
||||
{
|
||||
if ( !spaceLeft )
|
||||
return;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ( hints & Qt::ImhHiddenText )
|
||||
|
Loading…
x
Reference in New Issue
Block a user