[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/akonadi-ports/kdepim/korganizer
From: Sebastian Sauer <mail () dipe ! org>
Date: 2009-11-11 17:53:30
Message-ID: 1257962010.680198.6017.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1047649 by sebsauer:
queue the result to be sure the kjob's eventloop finished before we start a new job \
via exec() cause else the app freezes
M +1 -1 incidencechanger.cpp
--- branches/work/akonadi-ports/kdepim/korganizer/incidencechanger.cpp \
#1047648:1047649 @@ -431,7 +431,7 @@
//the sub-mimetype of text/calendar as defined at \
kdepim/akonadi/kcal/kcalmimetypevisitor.cpp item.setMimeType( \
QString::fromLatin1("application/x-vnd.akonadi.calendar.%1").arg(QLatin1String(incidence->type().toLower())) \
); //PENDING(AKONADI_PORT) shouldn't be hardcoded? ItemCreateJob *job = new \
ItemCreateJob( item, collection );
- connect( job, SIGNAL( result(KJob*)), this, SLOT( addIncidenceFinished(KJob*) ) );
+ connect( job, SIGNAL( result(KJob*)), this, SLOT( addIncidenceFinished(KJob*) ), \
Qt::QueuedConnection ); return true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic