Commit 2cd01629 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix variable order. Use new connect api

parent 1a009f46
......@@ -44,10 +44,10 @@
#include <QDebug>
CollectionNode::CollectionNode(ReparentingModel &personModel, const Akonadi::Collection &col)
: Node(personModel),
mCollection(col),
mCheckState(Qt::Unchecked),
isSearchNode(false)
: Node(personModel),
isSearchNode(false),
mCollection(col),
mCheckState(Qt::Unchecked)
{
}
......
......@@ -99,11 +99,11 @@ KOJournalView::KOJournalView(QWidget *parent)
connect(mJournalView, SIGNAL(newEventSignal(QDateTime,QDateTime)),
SIGNAL(newEventSignal(QDateTime,QDateTime)));
connect(mJournalView, SIGNAL(newTodoSignal(QDate)),
SIGNAL(newTodoSignal(QDate)));
connect(mJournalView, &EventViews::EventView::newTodoSignal,
this, &BaseView::newTodoSignal);
connect(mJournalView, SIGNAL(newSubTodoSignal(Akonadi::Item)),
SIGNAL(newSubTodoSignal(Akonadi::Item)));
connect(mJournalView, &EventViews::EventView::newSubTodoSignal,
this, &BaseView::newSubTodoSignal);
connect(mJournalView, SIGNAL(newJournalSignal(QDate)),
SIGNAL(newJournalSignal(QDate)));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment