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

Crash in case of read-only config #385

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

Crash in case of read-only config #385

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

Comments

@nico-izo
Copy link
Collaborator

nico-izo commented Nov 8, 2016

If ~/.config/qutim/config/profile.json is read-only, qutIM will crash during start

Q_ASSERT here:
https://github.com/euroelessar/qutim/blob/master/src/lib/qutim/config.cpp#L1354

	Q_ASSERT(atom->isMap() && !atom->isReadOnly());

We probably should either print nice message or have in-memory config without being able to save it.

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