Replace MinimumComboBox with regular QComboBox
ClosedPublic

Authored by dvratil on Apr 5 2019, 5:46 PM.

Details

Summary

The size constraint can be set externally, we don't need to have a dedicated
widget for that.

Test Plan

Looks and behaves the same as before.

Diff Detail

Repository
R91 PIM: Sieve Handling Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dvratil created this revision.Apr 5 2019, 5:46 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptApr 5 2019, 5:46 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
dvratil requested review of this revision.Apr 5 2019, 5:46 PM
mlaurent added inline comments.Apr 5 2019, 6:47 PM
src/ksieveui/autocreatescripts/sieveactionwidgetlister.cpp
121

The idea of MinimumCombox was to define minimum width not maximum.
Here you force the maximum width no ?

Why you don't port here too "sieveconditionwidgetlister.cpp" ?

dvratil updated this revision to Diff 55520.Apr 6 2019, 8:37 AM

Port remaining parts

mlaurent accepted this revision.Apr 6 2019, 10:30 AM
This revision is now accepted and ready to land.Apr 6 2019, 10:30 AM
This revision was automatically updated to reflect the committed changes.