Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit d8171f8e authored by Kurt Hindenburg's avatar Kurt Hindenburg

Pass small and trivially-copyable type by value QRect

parent 2ffcca1c
......@@ -479,7 +479,7 @@ bool ColorSchemeWallpaper::isNull() const
return _path.isEmpty();
bool ColorSchemeWallpaper::draw(QPainter &painter, const QRect &rect, qreal opacity)
bool ColorSchemeWallpaper::draw(QPainter &painter, const QRect rect, qreal opacity)
if ((_picture == nullptr) || _picture->isNull()) {
return false;
......@@ -49,7 +49,7 @@ public:
void load();
/** Returns true if wallpaper available and drawn */
bool draw(QPainter &painter, const QRect &rect, qreal opacity = 1.0);
bool draw(QPainter &painter, const QRect rect, qreal opacity = 1.0);
bool isNull() const;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment