forward port r999260 by Ade
CCBUG:199899 svn path=/trunk/KDE/kdelibs/; revision=1002146
This commit is contained in:
parent
9fb9ee1b0e
commit
16bf535e5e
@ -145,7 +145,7 @@ QPixmap ToolTipContent::image() const
|
|||||||
return d->image;
|
return d->image;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ToolTipContent::setWindowToPreview(const WId id)
|
void ToolTipContent::setWindowToPreview(WId id)
|
||||||
{
|
{
|
||||||
d->windowsToPreview.clear();
|
d->windowsToPreview.clear();
|
||||||
d->windowsToPreview.append(id);
|
d->windowsToPreview.append(id);
|
||||||
|
@ -385,7 +385,7 @@ QFont Meter::labelFont(int index) const
|
|||||||
return d->fonts[index];
|
return d->fonts[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
void Meter::setLabelAlignment(int index, Qt::Alignment alignment)
|
void Meter::setLabelAlignment(int index, const Qt::Alignment alignment)
|
||||||
{
|
{
|
||||||
while (d->alignments.count() <= index) {
|
while (d->alignments.count() <= index) {
|
||||||
d->alignments << alignment;
|
d->alignments << alignment;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user