Skip to content

Commit

Permalink
Fix one more typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rasendubi committed Jan 31, 2013
1 parent fc826cf commit ac8eeac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/qml/src/newsfeedmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void NewsFeedModel::setClient(QObject *obj)
return;

auto newsFeed = new Vreen::NewsFeed(client);
connect(newsFeed, SIGNAL(newsReceived(Vreen::NewsItemList)), SLOT(onNewsRecieved(Vreen::NewsItemList)));
connect(newsFeed, SIGNAL(newsReceived(Vreen::NewsItemList)), SLOT(onNewsReceived(Vreen::NewsItemList)));

m_newsFeed = newsFeed;
}
Expand Down Expand Up @@ -194,7 +194,7 @@ static bool newsItemMoreThan(const Vreen::NewsItem &a, const Vreen::NewsItem &b)
return a.date() > b.date();
}

void NewsFeedModel::onNewsRecieved(const Vreen::NewsItemList &items)
void NewsFeedModel::onNewsReceived(const Vreen::NewsItemList &items)
{
for (auto item : items) {
if (findNews(item.postId()) == -1) {
Expand Down
2 changes: 1 addition & 1 deletion src/qml/src/newsfeedmodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public slots:
void replaceNews(int index, const Vreen::NewsItem &data);
inline Vreen::Contact *findContact(int id) const;
private slots:
void onNewsRecieved(const Vreen::NewsItemList &data);
void onNewsReceived(const Vreen::NewsItemList &data);
void onAddLike(const QVariant &response);
void onDeleteLike(const QVariant &response);
private:
Expand Down

0 comments on commit ac8eeac

Please sign in to comment.