[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/pim/maildispatcheragent
From: Constantin Berzan <exit3219 () gmail ! com>
Date: 2009-05-13 18:25:35
Message-ID: 1242239135.274857.1196.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 967672 by cberzan:
Don't use akonadi_job->exec() since it is unsafe. (thanks tmcguire)
The only remaining exec()s are in the config dialog code, which has to go away anyway.
M +2 -8 maildispatcheragent.cpp
--- trunk/playground/pim/maildispatcheragent/maildispatcheragent.cpp #967671:967672
@@ -365,14 +365,8 @@
Item item = sentItems.value(job);
sentItems.remove(job);
ItemMoveJob *mjob = new ItemMoveJob(item, sentMail);
- if ( mjob->exec() )
- {
- kDebug() << "Moved ok.";
- }
- else
- {
- kWarning() << "MoveJob failed.";
- }
+ // TODO: care about the result
+ kDebug() << "MoveJob created.";
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic