Open nico-izo opened 8 years ago
Three issues: 1.) We are trying to load /usr/bin/profiles.json https://github.com/euroelessar/qutim/blob/f4f19187771e908e3f30e77c725b67c729e367d2/src/lib/qutim/profile.cpp#L151
And if it exists, --config will be ignored.
2.) We trying to open ~/.config/qutim even if --config is set https://github.com/euroelessar/qutim/blob/f4f19187771e908e3f30e77c725b67c729e367d2/src/lib/qutim/profile.cpp#L174
3.) And we are not handling this case in --config https://github.com/euroelessar/qutim/blob/f4f19187771e908e3f30e77c725b67c729e367d2/src/lib/qutim/profile.cpp#L152
So if you have 0.3.3 config, attempt to open it in 0.4 with --config will fail.
Three issues: 1.) We are trying to load /usr/bin/profiles.json https://github.com/euroelessar/qutim/blob/f4f19187771e908e3f30e77c725b67c729e367d2/src/lib/qutim/profile.cpp#L151
And if it exists, --config will be ignored.
2.) We trying to open ~/.config/qutim even if --config is set https://github.com/euroelessar/qutim/blob/f4f19187771e908e3f30e77c725b67c729e367d2/src/lib/qutim/profile.cpp#L174
3.) And we are not handling this case in --config https://github.com/euroelessar/qutim/blob/f4f19187771e908e3f30e77c725b67c729e367d2/src/lib/qutim/profile.cpp#L152
So if you have 0.3.3 config, attempt to open it in 0.4 with --config will fail.