Review Request 127267: [KPeople] Set a name for the database connection

Martin Klapetek martin.klapetek at gmail.com
Fri Mar 11 14:54:20 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127267/
-----------------------------------------------------------

(Updated March 11, 2016, 2:54 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks and KDEPIM.


Changes
-------

Submitted with commit 2dec39f0c62a6279a558ab6a7ada830c5cc2a200 by Martin Klapetek to branch master.


Repository: kpeople


Description
-------

If the app using KPeople is also using a QSqlDatabse and also
with a default connection name but different database, Qt will
reuse the connection and close one database and reopen the other,
which can cause troubles, especially then when used with QSqlQueryModel.


Diffs
-----

  src/personmanager.cpp 5c2d7af 

Diff: https://git.reviewboard.kde.org/r/127267/diff/


Testing
-------


Thanks,

Martin Klapetek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160311/b08692a1/attachment.html>


More information about the Kde-frameworks-devel mailing list