X-Git-Url: https://ruin.nu/git/?p=hbs.git;a=blobdiff_plain;f=bs%2Fui%2Fresourceview.ui.h;h=485c4e59866db7a75ca779650ddabf2657578441;hp=5e8f9ded76bc97f220a97c1e6f94909e08763aca;hb=d2305e5235e09fa536616f71c095e390fe8cbf8b;hpb=bd23b35be6c105946c9ecf87785f409f69a24714 diff --git a/bs/ui/resourceview.ui.h b/bs/ui/resourceview.ui.h index 5e8f9de..485c4e5 100644 --- a/bs/ui/resourceview.ui.h +++ b/bs/ui/resourceview.ui.h @@ -8,7 +8,7 @@ //test -void ResourceView::setLines( QString type, int i ) +void ResourceView::setLines( QString type, float i ) { if (type == tr("metal")) MetalEdit->setText(QString("%1").arg(i)); @@ -22,4 +22,6 @@ void ResourceView::setLines( QString type, int i ) ScoreEdit->setText(QString("%1").arg(i)); else if (type == tr("lost")) ScoreLostEdit->setText(QString("%1").arg(i)); + else if (type == tr("cost")) + CostEdit->setText(QString("%1").arg(i)); } \ No newline at end of file