Fix typo "favourities" -> "favourites".
[toast/confclerk.git] / src / mvc / delegate.cpp
index ae44cf6811bb0acc7d91022afc764f37f608b6d2..a3e64a7b3df4f0431e96dcde2ab7a68a210b512b 100644 (file)
@@ -184,7 +184,7 @@ void Delegate::paint(QPainter *painter, const QStyleOptionViewItem &option, cons
 
     else // doesn't have parent - time-groups' elements (top items)
     {
-        int numFav = numberOfFavourities(index);
+        int numFav = numberOfFavourites(index);
         int numAlarm = numberOfAlarms(index);
 
         QStyleOptionButton styleOptionButton;
@@ -355,7 +355,7 @@ bool Delegate::isPointFromRect(const QPoint &aPoint, const QRect &aRect) const
     return false;
 }
 
-int Delegate::numberOfFavourities(const QModelIndex &index) const
+int Delegate::numberOfFavourites(const QModelIndex &index) const
 {
     if(index.parent().isValid()) // it's event, not time-group
         return 0;