Mercurial > jwe > octave
changeset 26962:3ed8955dcdf9
* resource-manager.cc (ctor): test XDG_CONFIG_HOME before importing old gui settings
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Fri, 22 Mar 2019 08:05:04 +0100 |
parents | 51414d51a973 |
children | 6731d89ef576 |
files | libgui/src/resource-manager.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/resource-manager.cc Thu Mar 21 13:33:16 2019 +0000 +++ b/libgui/src/resource-manager.cc Fri Mar 22 08:05:04 2019 +0100 @@ -83,7 +83,7 @@ QString xdg_config_home = QString::fromLocal8Bit (qgetenv ("XDG_CONFIG_HOME")); - if (! sfile.exists ())// && xdg_config_home.isEmpty ()) + if ((! sfile.exists ()) && xdg_config_home.isEmpty ()) { // File does not exist yet: Look for a settings file at the old // location ($HOME/.config/octave/qt-settings) for impoting all