Commit 1aa81146 authored by Glen Ditchfield's avatar Glen Ditchfield 🐛
Browse files

Fix Clazy warnings

parent 292bf7ca
Pipeline #74714 passed with stage
in 4 minutes and 3 seconds
......@@ -1176,8 +1176,8 @@ void CalPrintWeek::setDateRange(const QDate &from, const QDate &to)
}
void CalPrintWeek::drawWeek(QPainter &p,
const QDate &qd,
const QRect &box)
QDate qd,
QRect box)
{
QDate weekDate = qd;
const bool portrait = (box.height() > box.width());
......
......@@ -245,7 +245,7 @@ protected:
@param qd Arbitrary date within the week to be printed.
@param box coordinates of the week box.
*/
void drawWeek(QPainter &p, const QDate &qd, const QRect &box);
void drawWeek(QPainter &p, QDate qd, QRect box);
};
class CalPrintMonth : public CalPrintPluginBase
......
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