mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
Fix a few clang-tidy inspections
This commit is contained in:
+4
-4
@@ -594,9 +594,9 @@ void MainWindow::onCreateTransactionSuccess(PendingTransaction *tx, const QVecto
|
||||
qCritical() << tx_err;
|
||||
|
||||
if (m_ctx->wallet->connectionStatus() == Wallet::ConnectionStatus_WrongVersion)
|
||||
err = QString("%1 Wrong node version: %2").arg(err).arg(tx_err);
|
||||
err = QString("%1 Wrong node version: %2").arg(err, tx_err);
|
||||
else
|
||||
err = QString("%1 %2").arg(err).arg(tx_err);
|
||||
err = QString("%1 %2").arg(err, tx_err);
|
||||
|
||||
if (tx_err.contains("Node response did not include the requested real output")) {
|
||||
QString currentNode = m_ctx->nodes->connection().toAddress();
|
||||
@@ -612,7 +612,7 @@ void MainWindow::onCreateTransactionSuccess(PendingTransaction *tx, const QVecto
|
||||
return;
|
||||
}
|
||||
else if (tx->txCount() == 0) {
|
||||
err = QString("%1 %2").arg(err).arg("No unmixable outputs to sweep.");
|
||||
err = QString("%1 %2").arg(err, "No unmixable outputs to sweep.");
|
||||
qDebug() << Q_FUNC_INFO << err;
|
||||
this->displayWalletErrorMsg(err);
|
||||
m_ctx->wallet->disposeTransaction(tx);
|
||||
@@ -1489,7 +1489,7 @@ QString MainWindow::getPlatformTag() {
|
||||
return "win";
|
||||
#endif
|
||||
#ifdef Q_OS_LINUX
|
||||
if (!qgetenv("APPIMAGE").isEmpty()) {
|
||||
if (!qEnvironmentVariableIsEmpty("APPIMAGE")) {
|
||||
return "linux-appimage";
|
||||
}
|
||||
return "linux";
|
||||
|
||||
Reference in New Issue
Block a user