aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Krupenko <krnekit@gmail.com>2016-04-16 16:21:25 +0300
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-04-16 14:13:34 +0000
commit4ef2ffe8c594ea2c34e1d87f0dbbc19746348e56 (patch)
treecdc9e22cd9bd1f84cd35d7b7a8f23c9a57bd9b41
parent742e5db24fee41066043b6425fbd0b007198af61 (diff)
Calendar: fix wrong signal on 'to' property change in CalendarModel
Change-Id: I7c3cdbbe02c71c5341684c3d9da9f1d9b0222136 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
-rw-r--r--src/imports/calendar/qquickcalendarmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/calendar/qquickcalendarmodel.cpp b/src/imports/calendar/qquickcalendarmodel.cpp
index 9d214450..4084a454 100644
--- a/src/imports/calendar/qquickcalendarmodel.cpp
+++ b/src/imports/calendar/qquickcalendarmodel.cpp
@@ -183,7 +183,7 @@ void QQuickCalendarModel::setTo(const QDate &to)
if (d->complete)
d->populate(d->from, to);
d->to = to;
- emit fromChanged();
+ emit toChanged();
}
}