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:
Adriaan de Groot 2009-07-19 14:47:43 +00:00
parent a3bb51e3a8
commit 54d0b04f5c
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;