Clean warnings
This commit is contained in:
@@ -620,7 +620,7 @@ void MainWindow::postToZBoard() {
|
|||||||
rpc->executeTransaction(tx, [=] (QString opid) {
|
rpc->executeTransaction(tx, [=] (QString opid) {
|
||||||
ui->statusBar->showMessage(tr("Computing Tx: ") % opid);
|
ui->statusBar->showMessage(tr("Computing Tx: ") % opid);
|
||||||
},
|
},
|
||||||
[=] (QString opid, QString txid) {
|
[=] (QString /*opid*/, QString txid) {
|
||||||
ui->statusBar->showMessage(Settings::txidStatusMessage + " " + txid);
|
ui->statusBar->showMessage(Settings::txidStatusMessage + " " + txid);
|
||||||
},
|
},
|
||||||
[=] (QString opid, QString errStr) {
|
[=] (QString opid, QString errStr) {
|
||||||
|
|||||||
@@ -531,7 +531,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_17">
|
<layout class="QHBoxLayout" name="layoutSendRecurring">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="chkRecurring">
|
<widget class="QCheckBox" name="chkRecurring">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@@ -1029,7 +1029,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>968</width>
|
<width>968</width>
|
||||||
<height>19</height>
|
<height>22</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuFile">
|
<widget class="QMenu" name="menuFile">
|
||||||
|
|||||||
@@ -97,6 +97,11 @@ void MainWindow::setupSendTab() {
|
|||||||
// Recurring schedule button
|
// Recurring schedule button
|
||||||
QObject::connect(ui->btnRecurSchedule, &QPushButton::clicked, this, &MainWindow::editSchedule);
|
QObject::connect(ui->btnRecurSchedule, &QPushButton::clicked, this, &MainWindow::editSchedule);
|
||||||
|
|
||||||
|
// Hide the recurring section for now
|
||||||
|
ui->chkRecurring->setVisible(false);
|
||||||
|
ui->lblRecurDesc->setVisible(false);
|
||||||
|
ui->btnRecurSchedule->setVisible(false);
|
||||||
|
|
||||||
// Set the default state for the whole page
|
// Set the default state for the whole page
|
||||||
removeExtraAddresses();
|
removeExtraAddresses();
|
||||||
}
|
}
|
||||||
@@ -655,7 +660,7 @@ void MainWindow::sendButton() {
|
|||||||
[=] (QString opid) {
|
[=] (QString opid) {
|
||||||
ui->statusBar->showMessage(tr("Computing Tx: ") % opid);
|
ui->statusBar->showMessage(tr("Computing Tx: ") % opid);
|
||||||
},
|
},
|
||||||
[=] (QString opid, QString txid) {
|
[=] (QString, QString txid) {
|
||||||
ui->statusBar->showMessage(Settings::txidStatusMessage + " " + txid);
|
ui->statusBar->showMessage(Settings::txidStatusMessage + " " + txid);
|
||||||
},
|
},
|
||||||
[=] (QString opid, QString errStr) {
|
[=] (QString opid, QString errStr) {
|
||||||
|
|||||||
@@ -350,11 +350,11 @@ void Turnstile::executeMigrationStep() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Turnstile::doSendTx(Tx tx, std::function<void(void)> cb) {
|
void Turnstile::doSendTx(Tx tx, std::function<void(void)> /*cb*/) {
|
||||||
rpc->executeTransaction(tx, [=] (QString opid) {
|
rpc->executeTransaction(tx, [=] (QString opid) {
|
||||||
mainwindow->ui->statusBar->showMessage(QObject::tr("Computing Tx: ") % opid);
|
mainwindow->ui->statusBar->showMessage(QObject::tr("Computing Tx: ") % opid);
|
||||||
},
|
},
|
||||||
[=] (QString opid, QString txid) {
|
[=] (QString /*opid*/, QString txid) {
|
||||||
mainwindow->ui->statusBar->showMessage(Settings::txidStatusMessage + " " + txid);
|
mainwindow->ui->statusBar->showMessage(Settings::txidStatusMessage + " " + txid);
|
||||||
},
|
},
|
||||||
[=] (QString opid, QString errStr) {
|
[=] (QString opid, QString errStr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user