diff --git a/cmake/FindPolyseed.cmake b/cmake/FindPolyseed.cmake index 54a7101..0fb0d81 100644 --- a/cmake/FindPolyseed.cmake +++ b/cmake/FindPolyseed.cmake @@ -7,4 +7,4 @@ if (NOT POLYSEED_INCLUDE_DIR OR NOT POLYSEED_LIBRARY) set(POLYSEED_LIBRARY polyseed_static) endif() message(STATUS "POLYSEED PATH ${POLYSEED_INCLUDE_DIR}") -message(STATUS "POLYSEED LIBARY ${POLYSEED_LIBRARY}") \ No newline at end of file +message(STATUS "POLYSEED LIBRARY ${POLYSEED_LIBRARY}") \ No newline at end of file diff --git a/cmake/FindQREncode.cmake b/cmake/FindQREncode.cmake index 8fe6bbb..2bcde73 100644 --- a/cmake/FindQREncode.cmake +++ b/cmake/FindQREncode.cmake @@ -2,7 +2,7 @@ find_path(QRENCODE_INCLUDE_DIR qrencode.h) message(STATUS "QRENCODE PATH ${QRENCODE_INCLUDE_DIR}") find_library(QRENCODE_LIBRARY qrencode) -message(STATUS "QRENCODE LIBARY ${QRENCODE_LIBRARY}") +message(STATUS "QRENCODE LIBRARY ${QRENCODE_LIBRARY}") mark_as_advanced(QRENCODE_LIBRARY QRENCODE_INCLUDE_DIR) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 3f64f94..65a8d1b 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -105,7 +105,7 @@ MainWindow::MainWindow(WindowManager *windowManager, Wallet *wallet, QWidget *pa void MainWindow::initStatusBar() { #if defined(Q_OS_WIN) - // No seperators between statusbar widgets + // No separators between statusbar widgets this->statusBar()->setStyleSheet("QStatusBar::item {border: None;}"); #endif @@ -342,7 +342,7 @@ void MainWindow::initMenu() { connect(ui->actionAbout, &QAction::triggered, this, &MainWindow::menuAboutClicked); connect(ui->actionOfficialWebsite, &QAction::triggered, [this](){Utils::externalLinkWarning(this, "https://featherwallet.org");}); connect(ui->actionDonate_to_Feather, &QAction::triggered, this, &MainWindow::donateButtonClicked); - connect(ui->actionDocumentation, &QAction::triggered, this, &MainWindow::onShowDocumentaton); + connect(ui->actionDocumentation, &QAction::triggered, this, &MainWindow::onShowDocumentation); connect(ui->actionReport_bug, &QAction::triggered, this, &MainWindow::onReportBug); connect(ui->actionShow_debug_info, &QAction::triggered, this, &MainWindow::showDebugInfo); @@ -477,7 +477,7 @@ void MainWindow::onWalletOpened() { m_ctx->wallet->subaddress()->addRow(m_ctx->wallet->currentSubaddressAccount(), ""); } } - m_ctx->wallet->subaddressModel()->setCurrentSubaddressAcount(m_ctx->wallet->currentSubaddressAccount()); + m_ctx->wallet->subaddressModel()->setCurrentSubaddressAccount(m_ctx->wallet->currentSubaddressAccount()); // history page m_ctx->wallet->history()->refresh(m_ctx->wallet->currentSubaddressAccount()); @@ -1501,7 +1501,7 @@ void MainWindow::onCreateDesktopEntry(bool checked) { QMessageBox::information(this, "Desktop entry", msg); } -void MainWindow::onShowDocumentaton() { +void MainWindow::onShowDocumentation() { Utils::externalLinkWarning(this, "https://docs.featherwallet.org"); } diff --git a/src/MainWindow.h b/src/MainWindow.h index 6079715..aad3082 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -119,7 +119,7 @@ private slots: void onExportHistoryCSV(bool checked); void onExportContactsCSV(bool checked); void onCreateDesktopEntry(bool checked); - void onShowDocumentaton(); + void onShowDocumentation(); void onReportBug(bool checked); void onShowSettingsPage(int page); @@ -215,7 +215,7 @@ private: void addToRecentlyOpened(const QString &filename); void updateRecentlyOpenedMenu(); void updateWidgetIcons(); - bool verifyPassword(bool senstive = true); + bool verifyPassword(bool sensitive = true); void patchStylesheetMac(); void fillSendTab(const QString &address, const QString &description); void userActivity(); diff --git a/src/assets/ack.txt b/src/assets/ack.txt index 8646110..fcb9121 100644 --- a/src/assets/ack.txt +++ b/src/assets/ack.txt @@ -1,6 +1,6 @@ • The wallet UI is heavily inspired by Electrum. We would like to recognize Thomas Voegtlin for his pioneering work on Bitcoin. -• Feather uses the monero-seed libary written by Tevador for 14 word mnemonic seeds. +• Feather uses the monero-seed library written by Tevador for 14 word mnemonic seeds. • Wizard banner art was adapted from a paper wallet design by the themonera (themonera.art). diff --git a/src/dialog/DebugInfoDialog.cpp b/src/dialog/DebugInfoDialog.cpp index 5ad6b75..40b9cf2 100644 --- a/src/dialog/DebugInfoDialog.cpp +++ b/src/dialog/DebugInfoDialog.cpp @@ -123,7 +123,7 @@ QString DebugInfoDialog::statusToString(Wallet::ConnectionStatus status) { } } -void DebugInfoDialog::copyToClipboad() { +void DebugInfoDialog::copyToClipboard() { // Two spaces at the end of each line are for newlines in Markdown QString text = ""; text += QString("Feather version: %1 \n").arg(ui->label_featherVersion->text()); diff --git a/src/dialog/DebugInfoDialog.h b/src/dialog/DebugInfoDialog.h index baf2745..a3224a4 100644 --- a/src/dialog/DebugInfoDialog.h +++ b/src/dialog/DebugInfoDialog.h @@ -24,7 +24,7 @@ public: private: QString statusToString(Wallet::ConnectionStatus status); - void copyToClipboad(); + void copyToClipboard(); void updateInfo(); QScopedPointer ui; diff --git a/src/dialog/TxConfAdvDialog.cpp b/src/dialog/TxConfAdvDialog.cpp index 4c3fb9b..c021d0d 100644 --- a/src/dialog/TxConfAdvDialog.cpp +++ b/src/dialog/TxConfAdvDialog.cpp @@ -164,7 +164,7 @@ void TxConfAdvDialog::signTransaction() { if(fn.isEmpty()) return; m_utx->sign(fn) ? QMessageBox::information(this, "Sign transaction", "Transaction saved successfully") - : QMessageBox::warning(this, "Sign transaction", "Failes to save transaction to file."); + : QMessageBox::warning(this, "Sign transaction", "Failed to save transaction to file."); } void TxConfAdvDialog::unsignedSaveFile() { diff --git a/src/dialog/TxProofDialog.cpp b/src/dialog/TxProofDialog.cpp index e2dd843..bff827e 100644 --- a/src/dialog/TxProofDialog.cpp +++ b/src/dialog/TxProofDialog.cpp @@ -221,7 +221,7 @@ void TxProofDialog::getSignature() { } Utils::copyToClipboard(proof.proof); - QMessageBox::information(this, "Get proof singature", "Proof signature copied to clipboard"); + QMessageBox::information(this, "Get proof signature", "Proof signature copied to clipboard"); } TxProof TxProofDialog::getProof() { diff --git a/src/dialog/ViewOnlyDialog.cpp b/src/dialog/ViewOnlyDialog.cpp index f8f7429..65e428e 100644 --- a/src/dialog/ViewOnlyDialog.cpp +++ b/src/dialog/ViewOnlyDialog.cpp @@ -19,7 +19,7 @@ ViewOnlyDialog::ViewOnlyDialog(QSharedPointer ctx, QWidget *parent) ui->label_primaryAddress->setText(m_ctx->wallet->address(0, 0)); ui->label_secretViewKey->setText(m_ctx->wallet->getSecretViewKey()); - connect(ui->btn_Copy, &QPushButton::clicked, this, &ViewOnlyDialog::copyToClipboad); + connect(ui->btn_Copy, &QPushButton::clicked, this, &ViewOnlyDialog::copyToClipboard); connect(ui->btn_Save, &QPushButton::clicked, this, &ViewOnlyDialog::onWriteViewOnlyWallet); if (m_ctx->wallet->viewOnly()) { @@ -50,7 +50,7 @@ void ViewOnlyDialog::onWriteViewOnlyWallet(){ QMessageBox::information(this, "Information", "View-only wallet successfully written to disk."); } -void ViewOnlyDialog::copyToClipboad() { +void ViewOnlyDialog::copyToClipboard() { QString text = ""; text += QString("Address: %1\n").arg(ui->label_primaryAddress->text()); text += QString("Secret view key: %1\n").arg(ui->label_secretViewKey->text()); diff --git a/src/dialog/ViewOnlyDialog.h b/src/dialog/ViewOnlyDialog.h index 940e3ae..0954ade 100644 --- a/src/dialog/ViewOnlyDialog.h +++ b/src/dialog/ViewOnlyDialog.h @@ -25,7 +25,7 @@ private slots: void onWriteViewOnlyWallet(); private: - void copyToClipboad(); + void copyToClipboard(); QScopedPointer ui; QSharedPointer m_ctx; diff --git a/src/libwalletqt/PassphraseHelper.h b/src/libwalletqt/PassphraseHelper.h index dba5d40..8cd474f 100644 --- a/src/libwalletqt/PassphraseHelper.h +++ b/src/libwalletqt/PassphraseHelper.h @@ -31,13 +31,13 @@ public: class PassphraseHelper { public: - PassphraseHelper(PassprasePrompter * prompter=nullptr): m_prompter(prompter) {}; + PassphraseHelper(PassphrasePrompter * prompter=nullptr): m_prompter(prompter) {}; PassphraseHelper(const PassphraseHelper & h): PassphraseHelper(h.m_prompter) {}; Monero::optional onDevicePassphraseRequest(bool & on_device); void onPassphraseEntered(const QString &passphrase, bool enter_on_device, bool entry_abort); private: - PassprasePrompter * m_prompter; + PassphrasePrompter * m_prompter; QWaitCondition m_cond_pass; QMutex m_mutex_pass; QString m_passphrase; diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index 7b4402d..8e6ec86 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -372,7 +372,7 @@ void Wallet::switchSubaddressAccount(quint32 accountIndex) m_subaddress->refresh(m_currentSubaddressAccount); m_history->refresh(m_currentSubaddressAccount); m_coins->refresh(m_currentSubaddressAccount); - this->subaddressModel()->setCurrentSubaddressAcount(m_currentSubaddressAccount); + this->subaddressModel()->setCurrentSubaddressAccount(m_currentSubaddressAccount); this->coinsModel()->setCurrentSubaddressAccount(m_currentSubaddressAccount); emit currentSubaddressAccountChanged(); } diff --git a/src/libwalletqt/Wallet.h b/src/libwalletqt/Wallet.h index 3626082..231af94 100644 --- a/src/libwalletqt/Wallet.h +++ b/src/libwalletqt/Wallet.h @@ -72,7 +72,7 @@ struct TxProofResult { uint64_t confirmations; }; -class Wallet : public QObject, public PassprasePrompter +class Wallet : public QObject, public PassphrasePrompter { Q_OBJECT @@ -361,19 +361,19 @@ public: //! returns Address book AddressBook *addressBook() const; - //! returns adress book model + //! returns address book model AddressBookModel *addressBookModel() const; //! returns subaddress Subaddress *subaddress(); - //! returns subadress model + //! returns subaddress model SubaddressModel *subaddressModel(); //! returns subaddress account SubaddressAccount *subaddressAccount() const; - //! returns subadress account model + //! returns subaddress account model SubaddressAccountModel *subaddressAccountModel() const; //! returns coins @@ -437,7 +437,7 @@ public: QString getDaemonLogPath() const; - // Blackalled outputs + // Blackballed outputs bool blackballOutput(const QString &amount, const QString &offset); bool blackballOutputs(const QList &outputs, bool add); bool blackballOutputs(const QString &filename, bool add); @@ -464,7 +464,7 @@ public: bool setRingDatabase(const QString &path); - // TODO: setListenter() when it implemented in API + // TODO: setListener() when it implemented in API signals: // emitted on every event happened with wallet // (money sent/received, new block) diff --git a/src/libwalletqt/WalletManager.h b/src/libwalletqt/WalletManager.h index 15f44b0..8b5fd07 100644 --- a/src/libwalletqt/WalletManager.h +++ b/src/libwalletqt/WalletManager.h @@ -19,7 +19,7 @@ namespace Monero { struct WalletManager; } -class WalletManager : public QObject, public PassprasePrompter +class WalletManager : public QObject, public PassphrasePrompter { Q_OBJECT diff --git a/src/model/SubaddressModel.cpp b/src/model/SubaddressModel.cpp index 40d0f0f..ec2c9e6 100644 --- a/src/model/SubaddressModel.cpp +++ b/src/model/SubaddressModel.cpp @@ -143,7 +143,7 @@ bool SubaddressModel::setData(const QModelIndex &index, const QVariant &value, i switch (index.column()) { case Label: - m_subaddress->setLabel(m_currentSubaddressAcount, row, value.toString()); + m_subaddress->setLabel(m_currentSubaddressAccount, row, value.toString()); break; default: return false; @@ -180,8 +180,8 @@ int SubaddressModel::unusedLookahead() const { return m_subaddress->unusedLookahead(); } -void SubaddressModel::setCurrentSubaddressAcount(quint32 accountIndex) { - m_currentSubaddressAcount = accountIndex; +void SubaddressModel::setCurrentSubaddressAccount(quint32 accountIndex) { + m_currentSubaddressAccount = accountIndex; } Monero::SubaddressRow* SubaddressModel::entryFromIndex(const QModelIndex &index) const { diff --git a/src/model/SubaddressModel.h b/src/model/SubaddressModel.h index 233ac78..85bec34 100644 --- a/src/model/SubaddressModel.h +++ b/src/model/SubaddressModel.h @@ -40,7 +40,7 @@ public: Monero::SubaddressRow* entryFromIndex(const QModelIndex &index) const; - void setCurrentSubaddressAcount(quint32 accountIndex); + void setCurrentSubaddressAccount(quint32 accountIndex); int unusedLookahead() const; public slots: @@ -52,7 +52,7 @@ private: QVariant parseSubaddressRow(const Monero::SubaddressRow &subaddress, const QModelIndex &index, int role) const; bool m_showFullAddresses; - quint32 m_currentSubaddressAcount; + quint32 m_currentSubaddressAccount; }; #endif // SUBADDRESSMODEL_H diff --git a/src/model/TransactionHistoryProxyModel.cpp b/src/model/TransactionHistoryProxyModel.cpp index 5e090cc..e905c62 100644 --- a/src/model/TransactionHistoryProxyModel.cpp +++ b/src/model/TransactionHistoryProxyModel.cpp @@ -22,20 +22,20 @@ TransactionHistory* TransactionHistoryProxyModel::history() { bool TransactionHistoryProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const { QString description, txid, subaddrlabel; - quint32 subaddrAcount; + quint32 subaddrAccount; QSet subaddrIndex; - m_history->transaction(sourceRow, [&description, &txid, &subaddrlabel, &subaddrAcount, &subaddrIndex](TransactionInfo &tInfo){ + m_history->transaction(sourceRow, [&description, &txid, &subaddrlabel, &subaddrAccount, &subaddrIndex](TransactionInfo &tInfo){ description = tInfo.description(); txid = tInfo.hash(); subaddrlabel = tInfo.label(); - subaddrAcount = tInfo.subaddrAccount(); + subaddrAccount = tInfo.subaddrAccount(); subaddrIndex = tInfo.subaddrIndex(); }); bool addressFound; for (quint32 i : subaddrIndex) { - QString address = m_wallet->address(subaddrAcount, i); + QString address = m_wallet->address(subaddrAccount, i); addressFound = address.contains(m_searchRegExp); if (addressFound) break; } diff --git a/src/monero_seed/README.md b/src/monero_seed/README.md index e40d1ec..97e6151 100644 --- a/src/monero_seed/README.md +++ b/src/monero_seed/README.md @@ -1,7 +1,7 @@ ## Note to package maintainers: This library was vendored because it is **deprecated** and **unmaintained**, it is kept for legacy reasons only. -Feather is the only project that will ever use this code, thus it is considered part of Feather source. +Feather is the only project that will ever use this code, thus it is considered part of Feather source. Do NOT unvendor this code. --- @@ -25,7 +25,7 @@ The mnemonic phrase contains 154 bits of data, which are used as follows: ### Wordlist The mnemonic phrase uses the BIP-39 wordlist, which has 2048 words, allowing 11 bits to be stored in each word. It has some additional useful properties, -for example each word can be uniquly identified by its first 4 characters. The wordlist is available for 9 languages (this repository only uses the English list). +for example each word can be uniquely identified by its first 4 characters. The wordlist is available for 9 languages (this repository only uses the English list). ### Reserved bits diff --git a/src/ui/qdarkstyle/style.qss b/src/ui/qdarkstyle/style.qss index a85365f..48b3b1b 100644 --- a/src/ui/qdarkstyle/style.qss +++ b/src/ui/qdarkstyle/style.qss @@ -15,7 +15,7 @@ And each widget is separated with a header like this: QWidgetName ------ This makes more easy to find and change some css field. The basic -configuration is described bellow. +configuration is described below. BACKGROUND ----------- @@ -1400,7 +1400,7 @@ QLineEdit:selected { color: #32414B; } -/* QTabWiget -------------------------------------------------------------- +/* QTabWidget -------------------------------------------------------------- https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar @@ -1676,7 +1676,7 @@ QTabBar QToolButton::right-arrow:disabled { image: url(":/qss_icons/rc/arrow_right_disabled.png"); } -/* QDockWiget ------------------------------------------------------------- +/* QDockWidget ------------------------------------------------------------- --------------------------------------------------------------------------- */ QDockWidget { diff --git a/src/utils/AsyncTask.h b/src/utils/AsyncTask.h index 1a289db..d79f31c 100644 --- a/src/utils/AsyncTask.h +++ b/src/utils/AsyncTask.h @@ -65,7 +65,7 @@ namespace AsyncTask * * @param task std::function object to run * @param context QObject responsible for calling this function - * @param callback std::function object to run after the task completess + * @param callback std::function object to run after the task completes */ template void runThenCallback(FunctionObject task, QObject* context, FunctionObject2 callback) diff --git a/src/utils/nodes.cpp b/src/utils/nodes.cpp index e53c871..a31fb85 100644 --- a/src/utils/nodes.cpp +++ b/src/utils/nodes.cpp @@ -146,7 +146,7 @@ void Nodes::loadConfig() { qDebug() << QString("Loaded %1 custom nodes from config").arg(m_customNodes.count()); } - // No nodes cached, fallback to hardcorded list + // No nodes cached, fallback to hardcoded list if (m_websocketNodes.count() == 0) { QByteArray file = Utils::fileOpenQRC(":/assets/nodes.json"); QJsonDocument nodes_json = QJsonDocument::fromJson(file);