mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-23 22:37:09 +03:00
core: Store docset storage path in portable version (fixes #609)
This commit is contained in:
parent
042b0bb5b6
commit
6cb63ee8f0
@ -163,11 +163,9 @@ void Settings::save()
|
|||||||
settings->setValue(QStringLiteral("password"), proxyPassword);
|
settings->setValue(QStringLiteral("password"), proxyPassword);
|
||||||
settings->endGroup();
|
settings->endGroup();
|
||||||
|
|
||||||
#ifndef PORTABLE_BUILD
|
|
||||||
settings->beginGroup(GroupDocsets);
|
settings->beginGroup(GroupDocsets);
|
||||||
settings->setValue(QStringLiteral("path"), docsetPath);
|
settings->setValue(QStringLiteral("path"), docsetPath);
|
||||||
settings->endGroup();
|
settings->endGroup();
|
||||||
#endif
|
|
||||||
|
|
||||||
settings->beginGroup(GroupState);
|
settings->beginGroup(GroupState);
|
||||||
settings->setValue(QStringLiteral("window_geometry"), windowGeometry);
|
settings->setValue(QStringLiteral("window_geometry"), windowGeometry);
|
||||||
|
Loading…
Reference in New Issue
Block a user