mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
Fix indentation of recently added code: 4 => 2 spaces
This commit is contained in:
parent
193aa4e31d
commit
27ca24f83d
|
@ -944,7 +944,7 @@ Class load() THROW_SPEC( exError )
|
|||
c.preferences.articleSizeLimit = preferences.namedItem( "articleSizeLimit" ).toElement().text().toInt();
|
||||
|
||||
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() )
|
||||
c.preferences.inputPhraseLengthLimit = preferences.namedItem( "inputPhraseLengthLimit" ).toElement().text().toInt();
|
||||
|
@ -2322,7 +2322,7 @@ QString getCacheDir() throw()
|
|||
|
||||
QString getNetworkCacheDir() throw()
|
||||
{
|
||||
return getCacheDir() + "/network";
|
||||
return getCacheDir() + "/network";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -651,7 +651,7 @@ void Preferences::customProxyToggled( bool )
|
|||
|
||||
void Preferences::on_maxNetworkCacheSize_valueChanged( int value )
|
||||
{
|
||||
ui.clearNetworkCacheOnExit->setEnabled( value != 0 );
|
||||
ui.clearNetworkCacheOnExit->setEnabled( value != 0 );
|
||||
}
|
||||
|
||||
void Preferences::helpRequested()
|
||||
|
|
Loading…
Reference in a new issue