use QString::clear() to clear a QString instead of assigning QString().
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870305
This commit is contained in:
parent
d0c8c9cee1
commit
c4573eae9a
@ -246,7 +246,7 @@ void Delegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (subTitleText == titleText) {
|
if (subTitleText == titleText) {
|
||||||
subTitleText = QString();
|
subTitleText.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
QFont subTitleFont = d->fontForSubTitle(option.font);
|
QFont subTitleFont = d->fontForSubTitle(option.font);
|
||||||
|
3
svg.cpp
3
svg.cpp
@ -87,7 +87,8 @@ class SvgPrivate
|
|||||||
}
|
}
|
||||||
|
|
||||||
themed = !QDir::isAbsolutePath(imagePath);
|
themed = !QDir::isAbsolutePath(imagePath);
|
||||||
path = themePath = QString();
|
path.clear();
|
||||||
|
themePath.clear();
|
||||||
|
|
||||||
if (themed) {
|
if (themed) {
|
||||||
themePath = imagePath;
|
themePath = imagePath;
|
||||||
|
Loading…
Reference in New Issue
Block a user