[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kst/portto4/kst/src/libkst
From: Nicolas Brisset <nicolas.brisset () eurocopter ! com>
Date: 2012-10-09 23:16:47
Message-ID: 20121009231647.0AA2EAC84E () svn ! kde ! org
[Download RAW message or body]
SVN commit 1319923 by brisset:
Don't save datasource- or vector-derived strings (similar to what we do for scalars, \
matrices and vectors) as they ar recreated automatically when we reload the data.
M +3 -0 string_kst.cpp
--- branches/work/kst/portto4/kst/src/libkst/string_kst.cpp #1319922:1319923
@@ -55,6 +55,9 @@
void String::save(QXmlStreamWriter &s) {
+ if (provider()) { // Don't save datasource- or vector-derived strings
+ return;
+ }
s.writeStartElement("string");
if (_orphan) {
s.writeAttribute("orphan", "true");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic