diff options
| author | selsta <selsta@sent.at> | 2021-04-24 08:25:12 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2021-04-24 08:25:12 +0200 |
| commit | 7558a2324332371a43ee775af52bf6fec89cfe9e (patch) | |
| tree | b4505e427f6a5289e71c9f10e88ace5d3c4df10c | |
| parent | bc1131ce41f5386639ddf0538df8044cb5271598 (diff) | |
| download | monzero-gui-7558a2324332371a43ee775af52bf6fec89cfe9e.tar.gz monzero-gui-7558a2324332371a43ee775af52bf6fec89cfe9e.tar.xz monzero-gui-7558a2324332371a43ee775af52bf6fec89cfe9e.zip | |
main: remove minor switch/case code duplication
| -rw-r--r-- | main.qml | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -534,12 +534,6 @@ ApplicationWindow { // try to resolve common wallet cache errors automatically switch (wallet.errorString) { case "basic_string::_M_replace_aux": - walletManager.clearWalletCache(wallet.path); - walletPassword = passwordDialog.password; - appWindow.initialize(); - console.error("Repairing wallet cache with error: ", wallet.errorString); - appWindow.showStatusMessage(qsTr("Repairing incompatible wallet cache. Resyncing wallet."),6); - return; case "std::bad_alloc": walletManager.clearWalletCache(wallet.path); walletPassword = passwordDialog.password; |
