Compare commits

...

4 Commits
master ... dev

  1. 8
      README.md
  2. 2
      silentdragon-lite.pro
  3. 2
      src/mainwindow.cpp
  4. 3
      src/settings.cpp

8
README.md

@ -105,6 +105,14 @@ Windows 10: `C:\Users\%user\AppData\Roaming\silentdragonlite`
Mac: `~/Library/Application Support/silentdragonlite`
## Where are settings stored?
Linux: `~/.config/Hush/SilentDragonLite.conf`
Windows: `HKEY_CURRENT_USER\SOFTWARE\Hush\SilentDragonLite`
Mac: `~/Library/Preferences/com.hush.SilentDragonLite.plist`
## Support
For support join us on [Telegram Support](https://hush.is/telegram_support), or our [Main Telegram](https://hush.is/telegram), or toot at our [Mastodon](https://fosstodon.org/@myhushteam), or [file an issue](https://git.hush.is/hush/SilentDragonLite/issues).

2
silentdragon-lite.pro

@ -205,7 +205,7 @@ win32: LIBS += -L$$PWD/lib/target/x86_64-pc-windows-gnu/release -lsilentdragonli
else:macx: LIBS += -L$$PWD/lib/target/release -lsilentdragonlite -framework Security -framework Foundation -L$$PWD/res/ -lsodium
else:unix: LIBS += -L$$PWD/lib/target/release -lsilentdragonlite -ldl -L$$PWD/res/ -lsodium
win32: PRE_TARGETDEPS += $$PWD/lib/target/x86_64-pc-windows-gnu/release/silentdragonlite.lib $$PWD/res/liblibsodium.a
win32: PRE_TARGETDEPS += $$PWD/lib/target/x86_64-pc-windows-gnu/release/silentdragonlite.lib $$PWD/res/libsodium.a
else:unix::PRE_TARGETDEPS += $$PWD/lib/target/release/libsilentdragonlite.a $$PWD/res/libsodium.a
INCLUDEPATH += $$PWD/res

2
src/mainwindow.cpp

@ -945,7 +945,7 @@ void MainWindow::doImport(QList<QString>* keys) {
if (key.startsWith("secret")) {
rpc->importZPrivKey(key, [=] (auto) { this->doImport(keys); });
} else if (key.startsWith("U") || key.startsWith("5") || key.startsWith("L") || key.startsWith("K")) {
} else if (key.startsWith("U") || key.startsWith("5") || key.startsWith("L") || key.startsWith("K") || key.startsWith("7")) {
// 5 = uncompressed, len=51
// LK= compressed, len=52
// TODO: verify exact length of (un)compressed

3
src/settings.cpp

@ -242,7 +242,8 @@ void Settings::setCheckForUpdates(bool allow) {
}
bool Settings::getAllowFetchPrices() {
return QSettings().value("options/allowfetchprices", true).toBool();
// now defaults to OFF, used to be ON
return QSettings().value("options/allowfetchprices", false).toBool();
}
void Settings::setAllowFetchPrices(bool allow) {

Loading…
Cancel
Save