Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 962a0c04 authored by Laurent Montel's avatar Laurent Montel 😁

It's an enum not a class. Don't use const'ref

parent 819fae52
......@@ -170,7 +170,7 @@ void StyledCalendarDelegate::paint(QPainter *painter, const QStyleOptionViewItem
//Buttons
{
int i = 1;
Q_FOREACH (const Action &action, getActions(option, index)) {
Q_FOREACH (Action action, getActions(option, index)) {
if (action != Total) {
QStyleOptionButton buttonOption = buttonOpt(opt, mPixmap.value(action), i);
if (action == Enable && showButtons) {
......
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