[Kst] kdeextragear-2/kst/kst
Andrew Walker
arwalker at sumusltd.com
Fri May 7 20:03:32 CEST 2004
CVS commit by arwalker:
Fixed build errors.
M +2 -2 kstdatamanager_i.cpp 1.50
--- kdeextragear-2/kst/kst/kstdatamanager_i.cpp #1.49:1.50
@@ -486,8 +486,8 @@ void KstDataManagerI::contextMenu(QListV
Kst2DPlotPtr plot = static_cast<Kst2DPlot*>((*i).data());
if (!plot->Curves.contains(c)) {
- addMenu->insertItem(i18n("%1 - %2").arg(v->caption(), plot->tagName()), koi, SLOT(addToPlot(int)), 0, id);
+ addMenu->insertItem(i18n("%1 - %2").arg(v->caption()).arg(plot->tagName()), koi, SLOT(addToPlot(int)), 0, id);
haveAdd = true;
} else {
- removeMenu->insertItem(i18n("%1 - %2").arg(v->caption(), plot->tagName()), koi, SLOT(removeFromPlot(int)), 0, id);
+ removeMenu->insertItem(i18n("%1 - %2").arg(v->caption()).arg(plot->tagName()), koi, SLOT(removeFromPlot(int)), 0, id);
haveRemove = true;
}
More information about the Kst
mailing list