KFileWidget - confirmOverwrite default

Albert Astals Cid aacid at kde.org
Thu Oct 30 21:15:12 GMT 2008


A Dijous 30 Octubre 2008, Rafael Fernández López va escriure:
> Hi,
>
> As you might now, I 'took' the maintainership of the
> KFileWidget/KDirOperator/... combo. I have a question about the
> confirmOverwrite boolean default.
>
> Why is it false by default ? (kfilewidget.cpp:97)
>
> I think this should be true by default so the user of the dialog hasn't got
> to worry about this. I also think that the strange case is that one that
> want to treat this case on its own.

Because i think it was the default behaviour on KDE 3 so if you change the 
default, all apps that are doing the check by themselves will get double 
confirmation requests, one by the KFileWidget and other by the app.

Albert

>
>
> Regards,
> Rafael Fernández López.






More information about the kde-core-devel mailing list