OSDN Git Service

Fix duplicate mime types in the user file
authorLeandro Melo <leandro.melo@nokia.com>
Wed, 6 Apr 2011 09:47:48 +0000 (11:47 +0200)
committerLeandro Melo <leandro.melo@nokia.com>
Wed, 6 Apr 2011 14:00:35 +0000 (16:00 +0200)
commitdc25adbe67383c0d0f23bfcc9b0320440658349b
tree20df3d04e72dcea8cce02cc86ca746eb50855a30
parentcad1c094f59b55780cd92e6f0d9867edaf1117f1
Fix duplicate mime types in the user file

Also avoid writing the file on every apply and do it
only when the dialog is finished.

Reset can still be improved to take effect immediately.

Reviewed-by: con
src/plugins/coreplugin/mimedatabase.cpp
src/plugins/coreplugin/mimetypesettings.cpp