D11273: Fix QSqlQuery warnings

Allan Sandfeld Jensen noreply at phabricator.kde.org
Mon Mar 12 22:44:59 GMT 2018


carewolf created this revision.
carewolf added a reviewer: mlaurent.
Restricted Application added a project: KDE PIM.
Restricted Application added a subscriber: KDE PIM.
carewolf requested review of this revision.

REVISION SUMMARY
  A default constructed QSqlQuery is not a passive null-value but a
  query prepared for the default database which may not be allowed
  in the current thread. Instead try connecting to the akonadi default
  database.
  
  BUG: 391783

REPOSITORY
  R165 Akonadi

BRANCH
  Applications/17.12

REVISION DETAIL
  https://phabricator.kde.org/D11273

AFFECTED FILES
  src/server/handler/fetchhelper.cpp
  src/server/handler/list.cpp
  src/server/storage/querybuilder.cpp

To: carewolf, mlaurent
Cc: #kde_pim, dvasin, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180312/a2dc57d7/attachment.html>


More information about the kde-pim mailing list