summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-08-09 06:28:06 (GMT)
committerMontel Laurent <montel@kde.org>2016-08-09 06:28:06 (GMT)
commit15213e928f4bf29c0fe9f1a62cf0c9602f9e87c4 (patch)
tree218a23379532dc17b926c977fea42f8f95852ffa
parentc2f6cc69cc832839109f3ad5287e08952e63cd56 (diff)
Use new connect api
-rw-r--r--src/agenda/decorationlabel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/agenda/decorationlabel.cpp b/src/agenda/decorationlabel.cpp
index bb4d95b..4106467 100644
--- a/src/agenda/decorationlabel.cpp
+++ b/src/agenda/decorationlabel.cpp
@@ -44,8 +44,8 @@ DecorationLabel::DecorationLabel(CalendarDecoration::Element *e,
this, &DecorationLabel::setExtensiveText);
connect(e, &CalendarDecoration::Element::gotNewLongText,
this, &DecorationLabel::setLongText);
- connect(e, SIGNAL(gotNewPixmap(QPixmap)),
- this, SLOT(setPixmap(QPixmap)));
+ connect(e, &CalendarDecoration::Element::gotNewPixmap,
+ this, &DecorationLabel::setPixmap);
connect(e, &CalendarDecoration::Element::gotNewShortText,
this, &DecorationLabel::setShortText);
connect(e, &CalendarDecoration::Element::gotNewUrl,