[Kst] branches/work/kst/hierarchy/kst/src/libkstapp
Eli Fidler
eli at staikos.net
Wed Dec 20 18:17:43 CET 2006
SVN commit 615212 by fidler:
fix dialogs by using displayString instead of tagName
M +2 -2 kstchangefiledialog_i.cpp
M +3 -2 kstchangenptsdialog_i.cpp
--- branches/work/kst/hierarchy/kst/src/libkstapp/kstchangefiledialog_i.cpp #615211:615212
@@ -84,7 +84,7 @@
// first add vectors
for (i = 0; i < (int)rvl.count(); i++) {
rvl[i]->readLock();
- ChangeFileCurveList->insertItem(rvl[i]->tagName());
+ ChangeFileCurveList->insertItem(rvl[i]->tag().displayString());
filesUsed.insert(rvl[i]->filename(), rvl[i]->filename());
rvl[i]->unlock();
}
@@ -92,7 +92,7 @@
// then add matrices
for (i = 0; i < (int)rml.count(); i++) {
rml[i]->readLock();
- ChangeFileCurveList->insertItem(rml[i]->tagName());
+ ChangeFileCurveList->insertItem(rml[i]->tag().displayString());
filesUsed.insert(rml[i]->filename(), rml[i]->filename());
rml[i]->unlock();
}
--- branches/work/kst/hierarchy/kst/src/libkstapp/kstchangenptsdialog_i.cpp #615211:615212
@@ -73,8 +73,9 @@
for (KstRVectorList::ConstIterator i = rvl.begin(); i != rvl.end(); ++i) {
KstRVectorPtr vector = *i;
vector->readLock();
- CurveList->insertItem(vector->tagName(), -1);
- if (qsl.contains(vector->tagName())) {
+ QString tag = vector->tag().displayString();
+ CurveList->insertItem(tag, -1);
+ if (qsl.contains(tag)) {
CurveList->setSelected(inserted, true);
}
++inserted;
More information about the Kst
mailing list