-rw-r--r-- | libopie/oticker.cpp | 4 | ||||
-rw-r--r-- | libopie/oticker.h | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/libopie/oticker.cpp b/libopie/oticker.cpp index 9a7044d..4fb5945 100644 --- a/libopie/oticker.cpp +++ b/libopie/oticker.cpp @@ -61,3 +61,3 @@ OTicker::~OTicker() { -void OTicker::setBackgroundColor(QColor backcolor) { +void OTicker::setBackgroundColor(const QColor& backcolor) { backgroundcolor = backcolor; @@ -66,3 +66,3 @@ void OTicker::setBackgroundColor(QColor backcolor) { -void OTicker::setForegroundColor(QColor backcolor) { +void OTicker::setForegroundColor(const QColor& backcolor) { foregroundcolor = backcolor; diff --git a/libopie/oticker.h b/libopie/oticker.h index c52e317..0b88919 100644 --- a/libopie/oticker.h +++ b/libopie/oticker.h @@ -80,4 +80,3 @@ public: */ - //FIXME const QColor& please -zecke - void setBackgroundColor(QColor color); + void setBackgroundColor(const QColor& color); /*! @@ -88,4 +87,3 @@ public: */ - // FIXME const QColor& please -zecke - void setForegroundColor(QColor color); + void setForegroundColor(const QColor& color); /*! |