Skip to content
Permalink
Browse files

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

Fix #15111
  • Loading branch information
m-kuhn committed Jun 26, 2016
1 parent 0bac4b8 commit f193c4e27d65ac5c0bf4d6414ca8e97b18b91116
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/app/qgsoptions.cpp
@@ -1134,7 +1134,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 f193c4e

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