[keyboard] Apply coding style
This commit is contained in:
parent
705e6dd8d6
commit
83d2c06f68
@ -220,7 +220,7 @@ SetKeyboardLayoutJob::writeVConsoleData( const QString& vconsoleConfPath, const
|
||||
}
|
||||
QTextStream stream( &file );
|
||||
bool found = false;
|
||||
for( const QString& existingLine : qAsConst( existingLines ) )
|
||||
for ( const QString& existingLine : qAsConst( existingLines ) )
|
||||
{
|
||||
if ( existingLine.trimmed().startsWith( "KEYMAP=" ) )
|
||||
{
|
||||
@ -300,8 +300,8 @@ SetKeyboardLayoutJob::writeX11Data( const QString& keyboardConfPath ) const
|
||||
|
||||
file.close();
|
||||
|
||||
cDebug() << Logger::SubEntry << "Written XkbLayout" << m_layout << "; XkbModel" << m_model << "; XkbVariant" << m_variant
|
||||
<< "to X.org file" << keyboardConfPath << stream.status();
|
||||
cDebug() << Logger::SubEntry << "Written XkbLayout" << m_layout << "; XkbModel" << m_model << "; XkbVariant"
|
||||
<< m_variant << "to X.org file" << keyboardConfPath << stream.status();
|
||||
|
||||
return ( stream.status() == QTextStream::Ok );
|
||||
}
|
||||
@ -332,8 +332,8 @@ SetKeyboardLayoutJob::writeDefaultKeyboardData( const QString& defaultKeyboardPa
|
||||
|
||||
file.close();
|
||||
|
||||
cDebug() << Logger::SubEntry << "Written XKBMODEL" << m_model << "; XKBLAYOUT" << m_layout << "; XKBVARIANT" << m_variant
|
||||
<< "to /etc/default/keyboard file" << defaultKeyboardPath << stream.status();
|
||||
cDebug() << Logger::SubEntry << "Written XKBMODEL" << m_model << "; XKBLAYOUT" << m_layout << "; XKBVARIANT"
|
||||
<< m_variant << "to /etc/default/keyboard file" << defaultKeyboardPath << stream.status();
|
||||
|
||||
return ( stream.status() == QTextStream::Ok );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user