mirror of
https://github.com/wownero/wowlet.git
synced 2026-12-01 12:34:12 +01:00
wowlet: fix mining-tab QQuickItem connect; wizard overhaul — skip first-run node-picker (embedded node default), disable feather-server websocket
This commit is contained in:
@@ -58,9 +58,8 @@ WindowManager::WindowManager(QObject *parent)
|
||||
|
||||
this->showCrashLogs();
|
||||
|
||||
if (!conf()->get(Config::firstRun).toBool() || TailsOS::detect() || WhonixOS::detect()) {
|
||||
this->onInitialNetworkConfigured();
|
||||
}
|
||||
// wowlet: the embedded local node is configured automatically — skip the first-run network wizard.
|
||||
this->onInitialNetworkConfigured();
|
||||
|
||||
this->startupWarning();
|
||||
|
||||
@@ -727,12 +726,9 @@ WalletWizard* WindowManager::createWizard(WalletWizard::Page startPage) {
|
||||
}
|
||||
|
||||
void WindowManager::initWizard() {
|
||||
auto startPage = WalletWizard::Page_Menu;
|
||||
if (conf()->get(Config::firstRun).toBool() && !(TailsOS::detect() || WhonixOS::detect())) {
|
||||
startPage = WalletWizard::Page_Network;
|
||||
}
|
||||
|
||||
this->showWizard(startPage);
|
||||
// wowlet: go straight to wallet creation — wowlet runs its own node by default, so the first-run
|
||||
// node-picker + third-party-data screens are skipped. Node/remote options live in Settings.
|
||||
this->showWizard(WalletWizard::Page_Menu);
|
||||
}
|
||||
|
||||
void WindowManager::showWizard(WalletWizard::Page startPage) {
|
||||
|
||||
@@ -78,7 +78,7 @@ static const QHash<Config::ConfigKey, ConfigDirective> configStrings = {
|
||||
{Config::lockOnMinimize, {QS("lockOnMinimize"), false}},
|
||||
{Config::showTrayIcon, {QS("showTrayIcon"), true}},
|
||||
{Config::minimizeToTray, {QS("minimizeToTray"), false}},
|
||||
{Config::disableWebsocket, {QS("disableWebsocket"), false}},
|
||||
{Config::disableWebsocket, {QS("disableWebsocket"), true}}, // wowlet: no Feather-server phone-home (prices via neroswap, node is local)
|
||||
{Config::offlineMode, {QS("offlineMode"), false}},
|
||||
|
||||
// Transactions
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <QVBoxLayout>
|
||||
#include <QQmlContext>
|
||||
#include <QQuickItem>
|
||||
#include <QThread>
|
||||
|
||||
MiningWidget::MiningWidget(Wallet *wallet, QWidget *parent)
|
||||
|
||||
Reference in New Issue
Block a user