- stores NetRadiant config in ~/.config/netradiant
or in ${XDG_CONFIG_HOME}/netradiant if set
instead of ~/.netradiant
if ( !portable_app_setup() ) {
StringOutputStream home( 256 );
if ( !portable_app_setup() ) {
StringOutputStream home( 256 );
- home << DirectoryCleaned( g_get_home_dir() ) << ".netradiant/";
+ home << DirectoryCleaned( g_get_user_config_dir() ) << "netradiant/";
Q_mkdir( home.c_str() );
home_path = home.c_str();
}
Q_mkdir( home.c_str() );
home_path = home.c_str();
}