summaryrefslogtreecommitdiffstats
path: root/connectivity
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-11-29 17:45:01 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-01-06 10:44:34 +0100
commit9a5c0d8783c67faa1a792fb6bc9853d6346fc17b (patch)
treeb4b5e27d94260176dbde0d91e6409225987b78ca /connectivity
parentfocus-in/out should return a value (diff)
downloadcore-9a5c0d8783c67faa1a792fb6bc9853d6346fc17b.tar.gz
core-9a5c0d8783c67faa1a792fb6bc9853d6346fc17b.zip
Related tdf#128974: Really deal with "default" and "default-release" profiles
See https://support.mozilla.org/gl/questions/1264072 for some background info. Change-Id: I4939a0c9a8ad09753de4a152f464c647ec637f31 Reviewed-on: https://gerrit.libreoffice.org/84077 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit a3822a44100ddba8b5f1e0cdd469a89244eaf498) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84137 Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx
index b34eaafc3e46..6f17ab137177 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx
@@ -133,6 +133,16 @@ namespace connectivity
}
+ // Depending on TB versions, some generate "default" profile
+ // others "default-release" profile
+ // See https://support.mozilla.org/gl/questions/1264072
+ // for some background info (the link quotes Firefox but it seems
+ // the same for TB).
+ if (profileName == "default-release")
+ {
+ rProduct.mCurrentProfileName = profileName;
+ break;
+ }
}
}