|
|
@ -150,6 +150,21 @@ void MainWindow::retranslateMiningTab() { |
|
|
|
if(tab != nullptr) { |
|
|
|
DEBUG("found Mining tab"); |
|
|
|
ui->tabWidget->setTabText(ui->tabWidget->indexOf(tab), QObject::tr("Mining")); |
|
|
|
} else { |
|
|
|
DEBUG("no Mining tab found!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
auto button1 = tab->findChild<QPushButton *>("stopmining"); |
|
|
|
if(button1 != nullptr) { |
|
|
|
DEBUG("found stop mining button"); |
|
|
|
button1->setText( QObject::tr("Stop Mining") ); |
|
|
|
} |
|
|
|
|
|
|
|
auto button2 = tab->findChild<QPushButton *>("startmining"); |
|
|
|
if(button2 != nullptr) { |
|
|
|
DEBUG("found start mining button"); |
|
|
|
button2->setText( QObject::tr("Start Mining") ); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|