aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/referenceexamples/binding/happybirthdaysong.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/referenceexamples/binding/happybirthdaysong.cpp')
-rw-r--r--examples/qml/referenceexamples/binding/happybirthdaysong.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qml/referenceexamples/binding/happybirthdaysong.cpp b/examples/qml/referenceexamples/binding/happybirthdaysong.cpp
index af60dd329c..6e3a9fcf6d 100644
--- a/examples/qml/referenceexamples/binding/happybirthdaysong.cpp
+++ b/examples/qml/referenceexamples/binding/happybirthdaysong.cpp
@@ -72,10 +72,10 @@ void HappyBirthdaySong::setName(const QString &name)
m_lyrics << "Happy birthday dear " + m_name + ",";
m_lyrics << "Happy birthday to you!";
m_lyrics << "";
-
+
emit nameChanged();
}
-
+
void HappyBirthdaySong::advance()
{
m_line = (m_line + 1) % m_lyrics.count();