X-Git-Url: https://ruin.nu/git/?p=hbs.git;a=blobdiff_plain;f=bs%2Fui%2Ffleetviewbase.ui.h;h=5d3e4dc34329e1b6ce85824e916b519613f560fe;hp=05111a467a130b7f928706a257b42d327243951b;hb=071b5f2d6ca710d048a58ee40e32bc623033c46e;hpb=b69214d555a2a06a004f92cf8c52160ee52b82dc diff --git a/bs/ui/fleetviewbase.ui.h b/bs/ui/fleetviewbase.ui.h index 05111a4..5d3e4dc 100644 --- a/bs/ui/fleetviewbase.ui.h +++ b/bs/ui/fleetviewbase.ui.h @@ -11,10 +11,22 @@ void FleetViewBase::slotAttacker(bool b) { if (b) { - CaptureBox->setCaption("Captured roids"); + CaptureBox->setTitle(tr("Captured roids")); } else { - CaptureBox->setCaption("Salvage"); + CaptureBox->setTitle(tr("Salvage")); + } +} + +void FleetViewBase::slotHomePlanet( bool b ) +{ + if (b) + { + RoidsGroup->show(); + } + else + { + RoidsGroup->hide(); } } \ No newline at end of file