Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs in --config handling #390

Open
nico-izo opened this issue Nov 10, 2016 · 0 comments
Open

Bugs in --config handling #390

nico-izo opened this issue Nov 10, 2016 · 0 comments
Assignees
Labels

Comments

@nico-izo
Copy link
Collaborator

nico-izo commented Nov 10, 2016

Three issues:
1.) We are trying to load /usr/bin/profiles.json

QDir dir = qApp->applicationDirPath();

And if it exists, --config will be ignored.

2.) We trying to open ~/.config/qutim even if --config is set

dir.mkpath("qutim/profiles");

3.) And we are not handling this case in --config

if (dir.exists("profiles.json") || (dir.exists("profiles") && dir.cd("profiles")))

So if you have 0.3.3 config, attempt to open it in 0.4 with --config will fail.

@nico-izo nico-izo added the high label Nov 10, 2016
@nico-izo nico-izo self-assigned this Nov 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant