mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdeui: const-ify the KPixmapWidget::setAlignment() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
23cc474596
commit
fadcacb651
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ QPixmap KPixmapWidget::pixmap() const
|
|||
return d->pixmap;
|
||||
}
|
||||
|
||||
void KPixmapWidget::setAlignment(Qt::Alignment alignment)
|
||||
void KPixmapWidget::setAlignment(const Qt::Alignment alignment)
|
||||
{
|
||||
d->alignment = alignment;
|
||||
update();
|
||||
|
|
|
@ -49,7 +49,7 @@ public:
|
|||
QPixmap pixmap() const;
|
||||
|
||||
Qt::Alignment alignment() const;
|
||||
void setAlignment(Qt::Alignment);
|
||||
void setAlignment(const Qt::Alignment alignment);
|
||||
|
||||
bool dragEnabled() const;
|
||||
void setDragEnabled(const bool enable);
|
||||
|
|
Loading…
Add table
Reference in a new issue