[Kst] kdeextragear-2/kst/kst (silent)
Andrew Walker
arwalker at sumusltd.com
Mon Nov 29 18:37:45 CET 2004
CVS commit by arwalker:
Fix compiler errors.
QValueList::constBegin() and QValueList::constEnd() not supported in Qt 3.1.
CVS_SILENT
M +2 -2 ksteqdialog_i.cpp 1.70
M +1 -1 kstequation.cpp 1.15
--- kdeextragear-2/kst/kst/ksteqdialog_i.cpp #1.69:1.70
@@ -188,5 +188,5 @@ bool KstEqDialogI::new_I() {
eq = 0L;
QString parseErrors;
- for (QStringList::ConstIterator i = Equation::errorStack.constBegin(); i != Equation::errorStack.constEnd(); ++i) {
+ for (QStringList::ConstIterator i = Equation::errorStack.begin(); i != Equation::errorStack.end(); ++i) {
parseErrors += *i;
parseErrors += "\n";
@@ -332,5 +332,5 @@ bool KstEqDialogI::edit_I() {
if (!DP->isValid()) {
QString parseErrors;
- for (QStringList::ConstIterator i = Equation::errorStack.constBegin(); i != Equation::errorStack.constEnd(); ++i) {
+ for (QStringList::ConstIterator i = Equation::errorStack.begin(); i != Equation::errorStack.end(); ++i) {
parseErrors += *i;
parseErrors += "\n";
--- kdeextragear-2/kst/kst/kstequation.cpp #1.14:1.15
@@ -252,5 +252,5 @@ void KstEquation::setEquation(const QStr
// Parse error
KstDebug::self()->log(i18n("Equation [%1] failed to parse. Errors follow.").arg(_equation), KstDebug::Warning);
- for (QStringList::ConstIterator i = Equation::errorStack.constBegin(); i != Equation::errorStack.constEnd(); ++i) {
+ for (QStringList::ConstIterator i = Equation::errorStack.begin(); i != Equation::errorStack.end(); ++i) {
KstDebug::self()->log(i18n("Parse Error: %1").arg(*i), KstDebug::Warning);
}
More information about the Kst
mailing list