Skip to content
Permalink
Browse files

Don't put default network cache directory directly in $HOME

Fix #15111
  • Loading branch information
m-kuhn committed Jul 11, 2016
1 parent 1ef6e68 commit 56514a76ed0ea105549b6efb14101d5cc497d9c4
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/app/qgsoptions.cpp
@@ -1086,7 +1086,11 @@ void QgsOptions::saveOptions()
mSettings->setValue( "proxy/proxyPassword", leProxyPassword->text() );
mSettings->setValue( "proxy/proxyType", mProxyTypeComboBox->currentText() );

mSettings->setValue( "cache/directory", mCacheDirectory->text() );
if ( !mCacheDirectory->text().isEmpty() )
mSettings->setValue( "cache/directory", mCacheDirectory->text() );
else
mSettings->remove( "cache/directory" );

mSettings->setValue( "cache/size", QVariant::fromValue( mCacheSize->value()*1024L ) );

//url to exclude from proxys

0 comments on commit 56514a7

Please sign in to comment.
You can’t perform that action at this time.