skip qchar
svn path=/trunk/KDE/kdelibs/; revision=1181713
This commit is contained in:
parent
876b399640
commit
ac640a1bae
2
svg.cpp
2
svg.cpp
@ -237,7 +237,7 @@ class SvgPrivate
|
|||||||
QPixmap findInCache(const QString &elementId, const QSizeF &s = QSizeF())
|
QPixmap findInCache(const QString &elementId, const QSizeF &s = QSizeF())
|
||||||
{
|
{
|
||||||
QSize size;
|
QSize size;
|
||||||
const QChar dash('-');
|
const char dash('-');
|
||||||
QString actualElementId(QString::number(qRound(s.width())) % dash % QString::number(qRound(s.height())) % dash % elementId);
|
QString actualElementId(QString::number(qRound(s.width())) % dash % QString::number(qRound(s.height())) % dash % elementId);
|
||||||
|
|
||||||
if (elementId.isEmpty() || !q->hasElement(actualElementId)) {
|
if (elementId.isEmpty() || !q->hasElement(actualElementId)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user