D15488: [Bookmarks Runner] Expose list of tables from FetchSqlite

David Edmundson noreply at phabricator.kde.org
Thu Sep 13 22:44:00 BST 2018


davidedmundson requested changes to this revision.
davidedmundson added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> fetchsqlite.cpp:104
> +
> +QStringList FetchSqlite::tables(QSql::TableType type)
> +{

please guard this with the mutex

> fetchsqlite.cpp:106
> +{
> +    auto m_db = QSqlDatabase();
> +    bool wasOpen = m_db.isOpen();

you're shadowing m_db

it'll never be open

REPOSITORY
  R120 Plasma Workspace

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

To: bruns, #frameworks, davidedmundson
Cc: davidedmundson, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180913/8de906e5/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list