qutim icon indicating copy to clipboard operation
qutim copied to clipboard

Bugs in --config handling

Open nico-izo opened this issue 8 years ago • 0 comments

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.

nico-izo avatar Nov 10 '16 16:11 nico-izo