Fix indentation of recently added code: 4 => 2 spaces

This commit is contained in:
Igor Kushnir 2020-11-19 12:49:23 +02:00
parent 193aa4e31d
commit 27ca24f83d
2 changed files with 3 additions and 3 deletions

View file

@ -944,7 +944,7 @@ Class load() THROW_SPEC( exError )
c.preferences.articleSizeLimit = preferences.namedItem( "articleSizeLimit" ).toElement().text().toInt(); c.preferences.articleSizeLimit = preferences.namedItem( "articleSizeLimit" ).toElement().text().toInt();
if ( !preferences.namedItem( "limitInputPhraseLength" ).isNull() ) if ( !preferences.namedItem( "limitInputPhraseLength" ).isNull() )
c.preferences.limitInputPhraseLength = ( preferences.namedItem( "limitInputPhraseLength" ).toElement().text() == "1" ); c.preferences.limitInputPhraseLength = ( preferences.namedItem( "limitInputPhraseLength" ).toElement().text() == "1" );
if ( !preferences.namedItem( "inputPhraseLengthLimit" ).isNull() ) if ( !preferences.namedItem( "inputPhraseLengthLimit" ).isNull() )
c.preferences.inputPhraseLengthLimit = preferences.namedItem( "inputPhraseLengthLimit" ).toElement().text().toInt(); c.preferences.inputPhraseLengthLimit = preferences.namedItem( "inputPhraseLengthLimit" ).toElement().text().toInt();
@ -2322,7 +2322,7 @@ QString getCacheDir() throw()
QString getNetworkCacheDir() throw() QString getNetworkCacheDir() throw()
{ {
return getCacheDir() + "/network"; return getCacheDir() + "/network";
} }
} }

View file

@ -651,7 +651,7 @@ void Preferences::customProxyToggled( bool )
void Preferences::on_maxNetworkCacheSize_valueChanged( int value ) void Preferences::on_maxNetworkCacheSize_valueChanged( int value )
{ {
ui.clearNetworkCacheOnExit->setEnabled( value != 0 ); ui.clearNetworkCacheOnExit->setEnabled( value != 0 );
} }
void Preferences::helpRequested() void Preferences::helpRequested()