Compile fix.
Changing the .cpp files only; a more consistent change would be to add const to tooltipcontent.h, but that would be BIC in itself. BUG: 199899 svn path=/branches/KDE/4.3/kdelibs/; revision=999260
This commit is contained in:
parent
a3bb51e3a8
commit
54d0b04f5c
@ -143,7 +143,7 @@ QPixmap ToolTipContent::image() const
|
||||
return d->image;
|
||||
}
|
||||
|
||||
void ToolTipContent::setWindowToPreview(const WId id)
|
||||
void ToolTipContent::setWindowToPreview(WId id)
|
||||
{
|
||||
d->windowsToPreview.clear();
|
||||
d->windowsToPreview.append(id);
|
||||
|
@ -385,7 +385,7 @@ QFont Meter::labelFont(int index) const
|
||||
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) {
|
||||
d->alignments << alignment;
|
||||
|
Loading…
Reference in New Issue
Block a user