[Digikam-devel] Review Request 126872: Fix database setting widget when mysql=on but internalmysql=off

Xuetian Weng wengxt at gmail.com
Tue Feb 2 12:24:58 GMT 2016


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

(Updated Feb. 2, 2016, 12:24 p.m.)


Status
------

This change has been discarded.


Review request for Digikam and Gilles Caulier.


Repository: digikam


Description
-------

Basically the issue is DatabaseType enum value mismatch with dbType QComboBox index.

Add a new member dbTypeMap to help map enum value to index, and uses currentData() and itemData(index) when needed to get the actual enum value.


Diffs
-----

  libs/database/utils/dbsettingswidget.cpp 668c36c 

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


Testing
-------

mysql enabled and internal mysql disabled, select database type mysql (experimental) from settings, UI updates correctly.


Thanks,

Xuetian Weng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20160202/aa5f4137/attachment.html>


More information about the Digikam-devel mailing list