#include "config-feather.h"
#include "constants.h"
-#include "dialog/AccountSwitcherDialog.h"
#include "dialog/BalanceDialog.h"
#include "dialog/DebugInfoDialog.h"
#include "dialog/PasswordDialog.h"
m_windowCalc = new CalcWindow(this);
m_splashDialog = new SplashDialog(this);
+ m_accountSwitcherDialog = new AccountSwitcherDialog(m_ctx, this);
this->restoreGeo();
}
void MainWindow::showAccountSwitcherDialog() {
- AccountSwitcherDialog dialog{m_ctx, this};
- dialog.exec();
+ m_accountSwitcherDialog->show();
}
void MainWindow::showAddressChecker() {
#include "SettingsDialog.h"
#include "dialog/AboutDialog.h"
+#include "dialog/AccountSwitcherDialog.h"
#include "dialog/SignVerifyDialog.h"
#include "dialog/VerifyProofDialog.h"
#include "dialog/SeedDialog.h"
CalcWindow *m_windowCalc = nullptr;
SplashDialog *m_splashDialog = nullptr;
+ AccountSwitcherDialog *m_accountSwitcherDialog = nullptr;
#ifdef HAS_XMRIG
XMRigWidget *m_xmrig = nullptr;