Fixed compile errors when using QT_USE_FAST_CONCATENATION and QT_USE_FAST_OPERATOR_PLUS to compile kdelibs...
svn path=/trunk/KDE/kdelibs/; revision=1194330
This commit is contained in:
parent
30799cc1be
commit
086599b47a
@ -215,7 +215,7 @@ void DataContainerPrivate::store()
|
||||
QByteArray b;
|
||||
QDataStream ds(&b, QIODevice::WriteOnly);
|
||||
ds << it.value();
|
||||
op.writeEntry("key", "base64-" + it.key());
|
||||
op.writeEntry("key", QString(QLatin1String("base64-") + it.key()));
|
||||
op.writeEntry("data", b.toBase64());
|
||||
}
|
||||
++it;
|
||||
|
@ -74,7 +74,7 @@ void DeclarativeWidgetPrivate::errorPrint()
|
||||
if(component->isError()){
|
||||
QList<QDeclarativeError> errors = component->errors();
|
||||
foreach (const QDeclarativeError &error, errors) {
|
||||
errorStr += (error.line()>0?QString::number(error.line()) + ": ":"")
|
||||
errorStr += (error.line()>0?QString(QString::number(error.line()) + QLatin1String(": ")):QLatin1String(""))
|
||||
+ error.description() + '\n';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user